Footer class abstract

Footer indicator.

Inheritance
Implementers

Constructors

Footer.new({required double triggerOffset, required bool clamping, Duration processedDuration = const Duration(seconds: 1), SpringDescription? spring, SpringBuilder? readySpringBuilder, bool springRebound = true, FrictionFactor? frictionFactor, bool safeArea = true, double? infiniteOffset = 0, bool? hitOver, bool? infiniteHitOver, IndicatorPosition position = IndicatorPosition.above, bool hapticFeedback = false, double? secondaryTriggerOffset, double secondaryVelocity = kDefaultSecondaryVelocity, double? secondaryDimension})
const

Properties

clamping bool
Hold to keep the Scrollable from going out of bounds.
finalinherited
frictionFactor FrictionFactor?
Friction factor when list is out of bounds. See BouncingScrollPhysics.frictionFactor.
finalinherited
hapticFeedback bool
Whether to enable haptic feedback.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hitOver bool
Hit boundary over. When the Scrollable scrolls by itself, is it out of bounds. When clamping is false, it takes effect.
finalinherited
infiniteHitOver bool
Infinite scroll hits out of bounds. When the Scrollable scrolls by itself, whether the infinite scroll is out of bounds. When clamping is false, it takes effect.
finalinherited
infiniteOffset double?
Infinite scroll trigger offset. The relative offset of the Scrollable from the bounds (>= 0) When null, no infinite scroll.
finalinherited
position IndicatorPosition
The position of the indicator.
finalinherited
processedDuration Duration
Task completion delay. IndicatorMode.processed duration of state.
finalinherited
readySpringBuilder SpringBuilder?
Spring effect when the mode is IndicatorMode.ready.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safeArea bool
Whether to calculate the safe area.
finalinherited
secondaryCloseTriggerOffset double
Secondary close trigger offset.
finalinherited
secondaryDimension double?
Dimension of the second floor. The default value is ScrollMetrics.viewportDimension.
finalinherited
secondaryTriggerOffset double?
Trigger offset for secondary. The indicator will expand and fill the scrollview area. Will not trigger when null.
finalinherited
secondaryVelocity double
Secondary opening speed.
finalinherited
spring SpringDescription?
Spring effect when scrollable goes back.
finalinherited
springRebound bool
Whether the spring can rebound. Only works with readySpringBuilder.
finalinherited
triggerOffset double
The offset of the trigger task.
finalinherited

Methods

build(BuildContext context, IndicatorState state) Widget
Build indicator widget.
inherited
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.
inherited