PullToRefreshOptions class


PullToRefreshOptions({bool enabled = true, Color? color, Color? backgroundColor, int? distanceToTriggerSync, int? slingshotDistance, AndroidPullToRefreshSize? size, IOSNSAttributedString? attributedTitle})


attributedTitle IOSNSAttributedString?
The title text to display in the refresh control.
getter/setter pair
backgroundColor Color?
The background color of the refresh control.
getter/setter pair
color Color?
The color of the refresh control.
getter/setter pair
distanceToTriggerSync int?
The distance to trigger a sync in dips.
getter/setter pair
enabled bool
Sets whether the pull-to-refresh feature is enabled or not.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size AndroidPullToRefreshSize?
The size of the refresh indicator.
getter/setter pair
slingshotDistance int?
The distance in pixels that the refresh indicator can be pulled beyond its resting position.
getter/setter pair


noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object.


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