AndroidPullToRefreshControllerCreationParams class
Object specifying creation parameters for creating a AndroidPullToRefreshController.
When adding additional fields make sure they can be null or have a default
value to avoid breaking changes. See PlatformPullToRefreshControllerCreationParams
for
more information.
Constructors
- AndroidPullToRefreshControllerCreationParams({void onRefresh()?, PullToRefreshOptions? options, PullToRefreshSettings? settings})
- Creates a new AndroidPullToRefreshControllerCreationParams instance.
- AndroidPullToRefreshControllerCreationParams.fromPlatformPullToRefreshControllerCreationParams(PlatformPullToRefreshControllerCreationParams params)
-
Creates a AndroidPullToRefreshControllerCreationParams instance based on
PlatformPullToRefreshControllerCreationParams
.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onRefresh → void Function()?
-
Event called when a swipe gesture triggers a refresh.
finalinherited
- options ↔ PullToRefreshOptions
-
Use settings instead.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings ↔ PullToRefreshSettings
-
Initial settings.
getter/setter pairinherited
Methods
-
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