FTappable.animated constructor

const FTappable.animated({
  1. FFocusedOutlineStyle? focusedOutlineStyle,
  2. String? semanticLabel,
  3. bool semanticSelected,
  4. bool excludeSemantics,
  5. bool autofocus,
  6. FocusNode? focusNode,
  7. ValueChanged<bool>? onFocusChange,
  8. HitTestBehavior behavior,
  9. Duration touchHoverEnterDuration,
  10. Duration touchHoverExitDuration,
  11. VoidCallback? onPress,
  12. VoidCallback? onLongPress,
  13. ValueWidgetBuilder<FTappableData>? builder,
  14. Widget? child,
  15. Key? key,
})

Creates an animated FTappable.

Contract

Throws AssertionError if builder and child are both null.

Implementation

const factory FTappable.animated({
  FFocusedOutlineStyle? focusedOutlineStyle,
  String? semanticLabel,
  bool semanticSelected,
  bool excludeSemantics,
  bool autofocus,
  FocusNode? focusNode,
  ValueChanged<bool>? onFocusChange,
  HitTestBehavior behavior,
  Duration touchHoverEnterDuration,
  Duration touchHoverExitDuration,
  VoidCallback? onPress,
  VoidCallback? onLongPress,
  ValueWidgetBuilder<FTappableData>? builder,
  Widget? child,
  Key? key,
}) = AnimatedTappable;