FTappable constructor
const
FTappable({
- FTappableStyle style(
- FTappableStyle style
- FFocusedOutlineStyle focusedOutlineStyle(
- FFocusedOutlineStyle style
- String? semanticsLabel,
- bool excludeSemantics,
- bool autofocus,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - ValueChanged<
bool> ? onHoverChange, - ValueChanged<
FWidgetStatesDelta> ? onStateChange, - bool selected,
- HitTestBehavior behavior,
- VoidCallback? onPress,
- VoidCallback? onLongPress,
- VoidCallback? onSecondaryPress,
- VoidCallback? onSecondaryLongPress,
- Map<
ShortcutActivator, Intent> ? shortcuts, - Map<
Type, Action< ? actions,Intent> > - ValueWidgetBuilder<
Set< builder,WidgetState> > - Widget? child,
- Key? key,
Implementation
const factory FTappable({
FTappableStyle Function(FTappableStyle style)? style,
FFocusedOutlineStyle Function(FFocusedOutlineStyle style)? focusedOutlineStyle,
String? semanticsLabel,
bool excludeSemantics,
bool autofocus,
FocusNode? focusNode,
ValueChanged<bool>? onFocusChange,
ValueChanged<bool>? onHoverChange,
ValueChanged<FWidgetStatesDelta>? onStateChange,
bool selected,
HitTestBehavior behavior,
VoidCallback? onPress,
VoidCallback? onLongPress,
VoidCallback? onSecondaryPress,
VoidCallback? onSecondaryLongPress,
Map<ShortcutActivator, Intent>? shortcuts,
Map<Type, Action<Intent>>? actions,
ValueWidgetBuilder<Set<WidgetState>> builder,
Widget? child,
Key? key,
}) = AnimatedTappable;