FSelectTile<T> constructor
FSelectTile<T> ({
- required Widget title,
- required T value,
- FTileStyle? style,
- Widget? subtitle,
- Widget? details,
- String? semanticLabel,
- ValueChanged<
bool> ? onChange, - bool? enabled,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - Widget? checkedIcon,
- Widget? uncheckedIcon,
- Widget? suffixIcon,
- Key? key,
Creates a FSelectTile with a prefix check icon.
Implementation
FSelectTile({
required this.title,
required this.value,
this.style,
this.subtitle,
this.details,
this.semanticLabel,
this.onChange,
this.enabled,
this.autofocus = false,
this.focusNode,
this.onFocusChange,
Widget? checkedIcon,
Widget? uncheckedIcon,
Widget? suffixIcon,
super.key,
}) : checkedIcon = checkedIcon ?? FIcon(FAssets.icons.check),
uncheckedIcon = uncheckedIcon ?? FIcon.empty(),
_suffix = false,
_icon = suffixIcon;