FastSelectableListItem<T extends FastItem> constructor
FastSelectableListItem<T extends FastItem> ({
- Key? key,
- required VoidCallback onTap,
- bool capitalizeLabelText = true,
- bool isSelected = false,
- bool isEnabled = true,
- bool isDense = true,
- Color? selectionTralingColor,
- Color? selectionLabelColor,
- String? descriptionText,
- EdgeInsets? contentPadding,
- Color? selectionColor,
- String? labelText,
- Widget? trailing,
- Widget? leading,
- T? item,
Implementation
FastSelectableListItem({
Key? key,
required this.onTap,
this.capitalizeLabelText = true,
this.isSelected = false,
this.isEnabled = true,
this.isDense = true,
this.selectionTralingColor,
this.selectionLabelColor,
this.descriptionText,
this.contentPadding,
this.selectionColor,
this.labelText,
this.trailing,
this.leading,
this.item,
}) : assert(item?.labelText != null || labelText != null),
super(key: key);