FTile.raw constructor

FTile.raw({
  1. required Widget child,
  2. FItemStyle style(
    1. FItemStyle
    )?,
  3. bool? enabled,
  4. bool selected = false,
  5. String? semanticsLabel,
  6. bool autofocus = false,
  7. FocusNode? focusNode,
  8. ValueChanged<bool>? onFocusChange,
  9. ValueChanged<bool>? onHoverChange,
  10. ValueChanged<FWidgetStatesDelta>? onStateChange,
  11. VoidCallback? onPress,
  12. VoidCallback? onLongPress,
  13. VoidCallback? onSecondaryPress,
  14. VoidCallback? onSecondaryLongPress,
  15. Map<ShortcutActivator, Intent>? shortcuts,
  16. Map<Type, Action<Intent>>? actions,
  17. Widget? prefix,
  18. Key? key,
})

Creates a FTile without custom layout behavior.

Assuming LTR locale:

----------------------------------------
| [prefix] [child]                     |
----------------------------------------

The order is reversed for RTL locales.

Implementation

FTile.raw({
  required Widget child,
  this.style,
  this.enabled,
  this.selected = false,
  this.semanticsLabel,
  this.autofocus = false,
  this.focusNode,
  this.onFocusChange,
  this.onHoverChange,
  this.onStateChange,
  this.onPress,
  this.onLongPress,
  this.onSecondaryPress,
  this.onSecondaryLongPress,
  this.shortcuts,
  this.actions,
  Widget? prefix,
  super.key,
}) : _child = FItem.raw(
       style: style,
       enabled: enabled,
       selected: selected,
       semanticsLabel: semanticsLabel,
       autofocus: autofocus,
       focusNode: focusNode,
       onFocusChange: onFocusChange,
       onHoverChange: onHoverChange,
       onStateChange: onStateChange,
       onPress: onPress,
       onLongPress: onLongPress,
       onSecondaryPress: onSecondaryPress,
       onSecondaryLongPress: onSecondaryLongPress,
       shortcuts: shortcuts,
       actions: actions,
       prefix: prefix,
       child: child,
     );