DragForSlide mixin

Superclass constraints
Mixin applications

Properties

absoluteRatio double
no setterinherited
direction SlideDirection
the direction of the sliding if ratio is 0, it will be SlideDirection.idle, indicating not sliding (this panel is closed)
no setter
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
layoutSize LayoutSize?
the layout result of RenderSlidable for all actions
getter/setter pair
ratio double
represents the current sliding ratio relative to the size of the SlidePanel if ratio > 0 indicates we are sliding to see the pre actions if ratio < 0 indicates we are sliding to see the post actions if ratio == 0 indicates we are not sliding, all actions are hidden, only the main child is visible
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slidePercent Animation<double>
no setterinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
createTicker(TickerCallback onTick) Ticker
Creates a ticker with the given callback.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
onDragEnd(DragEndDetails details) → void
if _shouldToggle returns true, it will try to open or dismiss the SlidablePanel continually otherwise, it will reset the SlidablePanel to the previous position
onDragUpdate(DragUpdateDetails details) → void
when dragging the SlidablePanel, this method will be called each update of the ratio would trigger the RenderSlidable to re-layout
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited