IndicatorState class

Indicator properties and state.

Constructors

IndicatorState({required Indicator indicator, required IndicatorNotifier notifier, required ValueNotifier<bool> userOffsetNotifier, required IndicatorMode mode, required IndicatorResult result, required double offset, required double safeOffset, required Axis axis, required AxisDirection axisDirection, required double viewportDimension, required double actualTriggerOffset})
const

Properties

actualSecondaryTriggerOffset double?
Actual secondary trigger offset.
no setter
actualTriggerOffset double
Actual trigger offset. triggerOffset + safeOffset
final
axis Axis
Scrollable axis.
final
axisDirection AxisDirection
Scrollable axis direction.
final
hashCode int
The hash code for this object.
no setteroverride
indicator Indicator
Refresh and loading indicator.
final
mode IndicatorMode
Refresh and loading state.
final
notifier IndicatorNotifier
Refresh and loading notifier.
final
offset double
Overscroll offset.
final
result IndicatorResult
Task completion result.
final
reverse bool
Whether the scroll view direction is reversed. AxisDirection.up or AxisDirection.left
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeOffset double
Safe area offset.
final
secondaryTriggerOffset double?
Trigger offset for secondary.
no setter
triggerOffset double
The offset of the trigger task.
no setter
userOffsetNotifier ValueNotifier<bool>
User offset notifier.
final
viewportDimension double
Scrollable viewport dimension. It's helpful for full screen indicator and second floor views.
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.
override