FloatingDraggableController class
Constructors
- FloatingDraggableController({required TickerProvider vsync, bool initialVisibility = true, Duration duration = const Duration(milliseconds: 300), Duration? visibilityDuration, Duration? naturalElasticDuration, Curve naturalElasticCurve = Curves.bounceOut, Duration? restrictAfter = const Duration(seconds: 3), Duration? restrictDuration, Curve restrictCurve = Curves.linearToEaseOut})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isDragging
→ ValueListenable<
bool> -
no setter
-
naturalElasticAnimation
→ Animation<
double> -
no setter
-
position
→ ValueListenable<
Offset> -
no setter
-
restrictAnimation
→ Animation<
double> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
visibilityAnimation
→ Animation<
double> -
no setter
Methods
-
animateElastic(
) → Future< void> -
animateRestrict(
) → Future< void> -
dispose(
) → void -
dragEnd(
) → void -
dragStart(
) → void -
dragUpdate(
Offset delta) → void -
hide(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
updatePosition(
Offset value) → void - Update position only when dragging or animation is terminated
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited