FSelectTile<T>.suffix constructor

const FSelectTile<T>.suffix({
  1. required Widget title,
  2. required T value,
  3. FItemStyle style(
    1. FItemStyle
    )?,
  4. Widget? checkedIcon = const Icon(FIcons.check),
  5. Widget? uncheckedIcon = const Icon(FIcons.check, color: Colors.transparent),
  6. Widget? subtitle,
  7. Widget? details,
  8. String? semanticsLabel,
  9. bool? enabled,
  10. bool autofocus = false,
  11. FocusNode? focusNode,
  12. ValueChanged<bool>? onFocusChange,
  13. ValueChanged<bool>? onHoverChange,
  14. ValueChanged<FWidgetStatesDelta>? onStatesChange,
  15. Map<ShortcutActivator, Intent>? shortcuts,
  16. Map<Type, Action<Intent>>? actions,
  17. Widget? prefix,
  18. Key? key,
})

Creates a FSelectTile with a suffix check icon.

Implementation

const FSelectTile.suffix({
  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? prefix,
  super.key,
}) : _icon = prefix,
     _suffix = true;