FTile.raw constructor
FTile.raw({
- required Widget child,
- FItemStyle style()?,
- bool? enabled,
- bool selected = false,
- String? semanticsLabel,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - ValueChanged<
bool> ? onHoverChange, - ValueChanged<
FWidgetStatesDelta> ? onStateChange, - VoidCallback? onPress,
- VoidCallback? onLongPress,
- VoidCallback? onSecondaryPress,
- VoidCallback? onSecondaryLongPress,
- Map<
ShortcutActivator, Intent> ? shortcuts, - Map<
Type, Action< ? actions,Intent> > - Widget? prefix,
- 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,
);