FSelectTile<T> constructor
const
FSelectTile<T> ({
- required Widget title,
- required T value,
- FItemStyle style()?,
- Widget? checkedIcon = const Icon(FIcons.check),
- Widget? uncheckedIcon = const Icon(FIcons.check, color: Colors.transparent),
- Widget? subtitle,
- Widget? details,
- String? semanticsLabel,
- bool? enabled,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - ValueChanged<
bool> ? onHoverChange, - ValueChanged<
FWidgetStatesDelta> ? onStatesChange, - Map<
ShortcutActivator, Intent> ? shortcuts, - Map<
Type, Action< ? actions,Intent> > - Widget? suffix,
- Key? key,
Creates a FSelectTile with a prefix check icon.
Implementation
const FSelectTile({
required this.title,
required this.value,
this.style,
this.checkedIcon = const Icon(FIcons.check),
this.uncheckedIcon = const Icon(FIcons.check, color: Colors.transparent),
this.subtitle,
this.details,
this.semanticsLabel,
this.enabled,
this.autofocus = false,
this.focusNode,
this.onFocusChange,
this.onHoverChange,
this.onStatesChange,
this.shortcuts,
this.actions,
Widget? suffix,
super.key,
}) : _suffix = false,
_icon = suffix;