UVideoGestureConfig class
Which player gestures are on: tap, double-tap seek, horizontal scrub, vertical volume/brightness, long-press 2×, pinch zoom, swipe-down close.
Constructors
- UVideoGestureConfig({bool tapToToggleControls = true, bool doubleTapSeek = true, Duration doubleTapStep = const Duration(seconds: 10), bool horizontalScrub = true, bool verticalVolume = true, bool verticalBrightness = true, bool longPressSpeed = true, double longPressSpeedValue = 2, bool pinchZoom = true, bool swipeDownToDismiss = true, double dismissVelocity = 1200, bool haptics = true})
-
const
Properties
- dismissVelocity → double
-
Swipe speed needed to close.
final
- doubleTapSeek → bool
-
Double tap left/right seeks back/forward.
final
- doubleTapStep → Duration
-
How far a double tap seeks.
final
- haptics → bool
-
Light vibration on gesture steps.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasVertical → bool
-
True when any vertical gesture is on.
no setter
- horizontalScrub → bool
-
Horizontal drag seeks.
final
- longPressSpeed → bool
-
Long press plays faster while held.
final
- longPressSpeedValue → double
-
Speed while long-pressing.
final
- pinchZoom → bool
-
Pinch zooms the picture.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- swipeDownToDismiss → bool
-
Swipe down closes (full screen/sheets).
final
- tapToToggleControls → bool
-
Tap shows/hides the controls.
final
- verticalBrightness → bool
-
Vertical drag on the left changes brightness.
final
- verticalVolume → bool
-
Vertical drag on the right changes volume.
final
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
Constants
- none → const UVideoGestureConfig
- Every gesture off.