PullableConfig class

Configuration for the Pullable widget

Constructors

PullableConfig.new({bool enablePullDown = true, bool enablePullUp = false, ScrollPhysics? physics, Future<void> onRefresh()?, Future<void> onLoading()?, PullableHeaderType headerType = PullableHeaderType.waterDrop, Widget? customHeader, Widget? customFooter, Duration refreshCompleteDelay = Duration.zero, Duration loadCompleteDelay = Duration.zero, bool enableOverScroll = true, double? cacheExtent, int? semanticChildCount, DragStartBehavior dragStartBehavior = DragStartBehavior.start})
const

Properties

cacheExtent double?
final
customFooter Widget?
final
customHeader Widget?
final
dragStartBehavior DragStartBehavior
final
enableOverScroll bool
final
enablePullDown bool
final
enablePullUp bool
final
hashCode int
The hash code for this object.
no setterinherited
headerType PullableHeaderType
final
loadCompleteDelay Duration
final
onLoading Future<void> Function()?
final
onRefresh Future<void> Function()?
final
physics ScrollPhysics?
final
refreshCompleteDelay Duration
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticChildCount int?
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
updateOnRefresh(Future<void> newOnRefresh()?) PullableConfig

Operators

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