AtomicIconListItemModel constructor

const AtomicIconListItemModel({
  1. required String title,
  2. String? subtitle,
  3. IconData? icon,
  4. Color iconColor = AtomicColors.gray500,
  5. Color textColor = AtomicColors.textPrimary,
  6. Color subTextColor = AtomicColors.textSecondary,
  7. VoidCallback? onTap,
  8. bool enabled = true,
})

Implementation

const AtomicIconListItemModel({
  required this.title,
  this.subtitle,
  this.icon,
  this.iconColor = AtomicColors.gray500,
  this.textColor = AtomicColors.textPrimary,
  this.subTextColor = AtomicColors.textSecondary,
  this.onTap,
  this.enabled = true,
});