SwipeConfig class
widget config for DoubleTapPlayerView about horizontal swipe event
Constructors
- SwipeConfig.create({required SwipeOverlayBuilder overlayBuilder, OnDragStartCallback? onSwipeStart, VoidCallback? onSwipeCancel, OnDragCallback? onSwipeEnd, OnDragCallback? onSwipeUpdate, Color backDrop = Colors.black45})
-
factory constructor of SwipeConfig.
SwipeConfig is the widget config for DoubleTapPlayerView about horizontal swipe event
factory
Properties
- backDrop → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onDragCancel → VoidCallback?
-
final
- onDragEnd → OnDragCallback?
-
final
- onDragStart → OnDragStartCallback?
-
final
- onDragUpdate → OnDragCallback?
-
final
- overlayBuilder → SwipeOverlayBuilder
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.
inherited