Ios17HeaderState class

State for Ios17Header.

Inheritance
Mixed-in types

Constructors

Ios17HeaderState()

Properties

activity ScrollActivity?
The current scroll activity.
no setterinherited
configuration RefreshConfiguration?
The refresh configuration inherited from ancestors.
getter/setter pairinherited
context BuildContext
The location in the tree where this widget builds.
no setterinherited
debugDismissControllerValue double
Returns the current dismiss controller value.
no setter
debugLastUpdatedAt DateTime?
Returns the last completion timestamp, if any.
no setter
debugOpacityControllerValue double
Returns the current opacity controller value.
no setter
debugProgress double
Returns the current drag progress used by the indicator.
no setter
debugRotationControllerValue double
Returns the current rotation controller value.
no setter
debugScaleControllerValue double
Returns the current scale controller value.
no setter
floating bool
Whether the indicator is currently in a floating state.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
mode RefreshStatus?
The current mode of the indicator.
getter/setter pairinherited
mounted bool
Whether this State object is currently in a tree.
no setterinherited
position ScrollPosition?
The scroll position of the refresher's inner scrollable.
no setterinherited
refresher SmartRefresher?
The SmartRefresher that contains this indicator.
getter/setter pairinherited
refresherState SmartRefresherState?
The state of the SmartRefresher that contains this indicator.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widget Ios17Header
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
inherited
buildContent(BuildContext context, RefreshStatus? mode) Widget
Builds the content of the indicator.
override
createTicker(TickerCallback onTick) Ticker
Creates a ticker with the given callback.
inherited
deactivate() → void
Called when this object is removed from the tree.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
debugSetVisualMode(RefreshStatus nextMode) → void
Updates the visual mode and runs the same side effects used in production.
debugStartDismissAnimation() Future<void>
Starts the fixed-duration dismiss animation.
debugStartRefreshingAnimation() → void
Starts the refreshing animations without going through scroll physics.
debugStartScalePop() → void
Starts the threshold-crossing scale pop.
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didUpdateWidget(covariant Ios17Header oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
override
disposeListener() → void
Disposes of the listeners attached to the mode and scroll position.
inherited
endRefresh() Future<void>
Triggered when the indicator is ready to dismiss its layout.
override
endRefreshWithTimer(Duration duration) Future<void>
Ends the refresh after duration, using a cancellable Timer to avoid pending-timer errors in tests.
inherited
initState() → void
Called when this object is inserted into the tree.
override
needReverseAll() bool
Whether the indicator needs to be reversed based on scroll direction.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onModeChange(RefreshStatus? mode) → void
Callback when the refresh mode changes.
override
onOffsetChange(double offset) → void
Callback when the scroll offset changes.
override
readyToRefresh() Future<void>
Triggered when the indicator is ready to enter the refresh state.
inherited
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
resetValue() → void
Resets the indicator's internal values.
override
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
update() → void
Triggers a UI update by calling setState if the widget is mounted.
inherited

Operators

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