BoxStylerPressable extension
Builds interactive boxes from a BoxStyler.
- on
Methods
-
pressable(
{Key? key, VoidCallback? onPress, VoidCallback? onLongPress, FocusNode? focusNode, bool autofocus = false, bool enableFeedback = false, ValueChanged< bool> ? onFocusChange, MouseCursor? mouseCursor, bool canRequestFocus = true, bool excludeFromSemantics = false, String? semanticsLabel, PressableSemanticsRole semanticsRole = .button, FocusOnKeyEventCallback? onKeyEvent, WidgetStatesController? controller, Map<Type, Action< ? actions, HitTestBehavior hitTestBehavior = .opaque, bool enabled = true, required Widget child}) → PressableBoxIntent> > -
Available on BoxStyler, provided by the BoxStylerPressable extension
Creates a PressableBox using this style.