InteractiveEnabledGestures class
Configuration for which gestures are enabled.
Constructors
- InteractiveEnabledGestures({bool tap = true, bool longPress = true, bool drag = true, bool hover = true})
-
const
- InteractiveEnabledGestures.all()
-
All gestures enabled.
factory
- InteractiveEnabledGestures.none()
-
All gestures disabled.
factory
Properties
- drag → bool
-
Whether drag gesture is enabled.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hover → bool
-
Whether hover gesture is enabled.
final
- longPress → bool
-
Whether long-press gesture is enabled.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tap → bool
-
Whether tap gesture is enabled.
final
Methods
-
copyWith(
{bool? tap, bool? longPress, bool? drag, bool? hover}) → InteractiveEnabledGestures -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override