MiniListItem constructor

const MiniListItem({
  1. Key? key,
  2. @Deprecated('Use leading instead. icon will be removed in a future release.') Widget? icon,
  3. Widget? leading,
  4. required String title,
  5. String? subtitle,
  6. Widget? trailing,
  7. VoidCallback? onTap,
  8. EdgeInsetsGeometry? padding,
  9. bool showArrow = false,
})

Implementation

const MiniListItem({
  super.key,
  @Deprecated('Use leading instead. icon will be removed in a future release.')
  this.icon,
  this.leading,
  required this.title,
  this.subtitle,
  this.trailing,
  this.onTap,
  this.padding,
  this.showArrow = false,
});