FastNavigationListItem<T extends FastItem> constructor
const
FastNavigationListItem<T extends FastItem> ({
- Key? key,
- required VoidCallback onTap,
- Widget trailing = kFastNavigationTrailingIcon,
- bool capitalizeLabelText = true,
- bool isEnabled = true,
- bool isDense = true,
- bool showTrailing = true,
- bool showLeading = true,
- String? descriptionText,
- EdgeInsets? contentPadding,
- String? labelText,
- Widget? leading,
- 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);