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