SilkyScrollState class
- Mixed-in types
Constructors
- SilkyScrollState({ScrollController? scrollController, ScrollPhysics widgetScrollPhysics = const ScrollPhysics(), required Duration edgeLockingDelay, required double scrollSpeed, required Duration silkyScrollDuration, required Curve animationCurve, required bool isVertical, required bool isNeedScrollEventBubbling, required bool isDebug, void scrollCallback(double delta)?, required dynamic setManualPointerDeviceKind(PointerDeviceKind)?, required SilkyScrollMousePointerManager silkyScrollMousePointerManager})
Properties
- animationCurve → Curve
-
final
- clientController ↔ ScrollController
-
latefinal
- currentScrollPhysics ↔ ScrollPhysics
-
getter/setter pair
- edgeLockingDelay → Duration
-
final
- futurePosition ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- isAlive ↔ bool
-
getter/setter pair
- isControllerOwn ↔ bool
-
latefinal
- isDebug → bool
-
final
- isNeedScrollEventBubbling → bool
-
final
- isOnSilkyScrolling ↔ bool
-
getter/setter pair
- isPlatformBouncingScrollPhysics ↔ bool
-
latefinal
- isRecoilScroll ↔ bool
-
getter/setter pair
- isVertical → bool
-
final
- kDisableScrollPhysics → BlockedScrollPhysics
-
final
- lastDelta ↔ double
-
getter/setter pair
- parentSilkyScrollState ↔ SilkyScrollState?
-
getter/setter pair
- pointKey → UniqueKey
-
final
- prevDeltaPositive ↔ bool
-
getter/setter pair
- recoilDurationMS ↔ int
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollCallback → void Function(double delta)?
-
final
- scrollEnableTimer ↔ Timer
-
getter/setter pair
- scrollSetDisableTimer ↔ Timer
-
getter/setter pair
- scrollSpeed → double
-
final
- setPointerDeviceKind ↔ dynamic Function(PointerDeviceKind)
-
latefinal
- silkyScrollController ↔ SilkyScrollController
-
latefinal
- silkyScrollDuration → Duration
-
final
- silkyScrollMousePointerManager → SilkyScrollMousePointerManager
-
final
- widgetScrollPhysics ↔ ScrollPhysics
-
getter/setter pair
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
animateToScroll(
double scrollDelta, double scrollSpeed) → void -
checkNeedLocking(
) → void -
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).
override
-
handleMouseScroll(
double delta, double scrollSpeed) → void -
handleTouchScroll(
double delta) → void -
manualHandleScroll(
double delta, bool callIsVertical) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
onScrollUpdate(
) → void -
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
setWidgetScrollPhysics(
{required ScrollPhysics scrollPhysics}) → void -
toString(
) → String -
A string representation of this object.
inherited
-
triggerMouseAction(
double scrollDeltaY) → void -
triggerTouchAction(
Offset delta, PointerDeviceKind kind) → void -
unlockScroll(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited