FSelectTile<T>.tile constructor

const FSelectTile<T>.tile({
  1. required Widget title,
  2. required T value,
  3. FItemStyle style(
    1. FItemStyle
    )?,
  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. ValueChanged<FWidgetStatesDelta>? onStatesChange,
  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,
  FItemStyle Function(FItemStyle)? style,
  Widget checkedIcon,
  Widget uncheckedIcon,
  Widget? subtitle,
  Widget? details,
  String? semanticsLabel,
  bool? enabled,
  bool autofocus,
  FocusNode? focusNode,
  ValueChanged<bool>? onFocusChange,
  ValueChanged<bool>? onHoverChange,
  ValueChanged<FWidgetStatesDelta>? onStatesChange,
  Map<ShortcutActivator, Intent>? shortcuts,
  Map<Type, Action<Intent>>? actions,
  Widget? suffix,
  Key? key,
}) = FSelectTile<T>;