FastNavigationListItem<T extends FastItem> constructor

const FastNavigationListItem<T extends FastItem>({
  1. Key? key,
  2. required VoidCallback onTap,
  3. Widget trailing = kFastNavigationTrailingIcon,
  4. bool capitalizeLabelText = true,
  5. bool isEnabled = true,
  6. bool isDense = true,
  7. bool showTrailing = true,
  8. bool showLeading = true,
  9. String? descriptionText,
  10. EdgeInsets? contentPadding,
  11. String? labelText,
  12. Widget? leading,
  13. T? item,
})

Implementation

const FastNavigationListItem({
  Key? key,
  required this.onTap,
  this.trailing = kFastNavigationTrailingIcon,
  this.capitalizeLabelText = true,
  this.isEnabled = true,
  this.isDense = true,
  this.showTrailing = true,
  this.showLeading = true,
  this.descriptionText,
  this.contentPadding,
  this.labelText,
  this.leading,
  this.item,
})  : assert(item != null || labelText != null),
      super(key: key);