FSelectTile<T>.tile constructor

const FSelectTile<T>.tile({
  1. required Widget title,
  2. required T value,
  3. FItemStyleDelta style,
  4. Widget checkedIcon,
  5. Widget uncheckedIcon,
  6. Widget? subtitle,
  7. Widget? details,
  8. String? semanticsLabel,
  9. bool? enabled,
  10. bool autofocus,
  11. FocusNode? focusNode,
  12. ValueChanged<bool>? onFocusChange,
  13. ValueChanged<bool>? onHoverChange,
  14. FTappableVariantChangeCallback? onVariantChange,
  15. Map<ShortcutActivator, Intent>? shortcuts,
  16. Map<Type, Action<Intent>>? actions,
  17. Widget? suffix,
  18. Key? key,
})

Creates a FSelectTile with a prefix check icon.

This is identical to FSelectTile.new. It provides consistency with other FTileMixin members when using dot-shorthands.

Implementation

const factory FSelectTile.tile({
  required Widget title,
  required T value,
  FItemStyleDelta style,
  Widget checkedIcon,
  Widget uncheckedIcon,
  Widget? subtitle,
  Widget? details,
  String? semanticsLabel,
  bool? enabled,
  bool autofocus,
  FocusNode? focusNode,
  ValueChanged<bool>? onFocusChange,
  ValueChanged<bool>? onHoverChange,
  FTappableVariantChangeCallback? onVariantChange,
  Map<ShortcutActivator, Intent>? shortcuts,
  Map<Type, Action<Intent>>? actions,
  Widget? suffix,
  Key? key,
}) = FSelectTile<T>;