PullToRefreshOptions class Null safety


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.
read / write
backgroundColor Color?
The background color of the refresh control.
read / write
color Color?
The color of the refresh control.
read / write
distanceToTriggerSync int?
The distance to trigger a sync in dips.
read / write
enabled bool
Sets whether the pull-to-refresh feature is enabled or not.
read / write
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size AndroidPullToRefreshSize?
The size of the refresh indicator.
read / write
slingshotDistance int?
The distance in pixels that the refresh indicator can be pulled beyond its resting position.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.