PlatformPullToRefreshControllerCreationParams class
Object specifying creation parameters for creating a PlatformPullToRefreshController.
Platform specific implementations can add additional fields by extending this class.
- Annotations
-
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), WindowsPlatform()])
Constructors
- PlatformPullToRefreshControllerCreationParams({@Deprecated("Use settings instead") PullToRefreshOptions? options, PullToRefreshSettings? settings, void onRefresh()?})
- Used by the platform implementation to create a new PlatformPullToRefreshController.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onRefresh → void Function()?
-
Event called when a swipe gesture triggers a refresh.
final
- options ↔ PullToRefreshOptions
-
Use settings instead.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings ↔ PullToRefreshSettings
-
Initial settings.
getter/setter pair
Methods
-
isClassSupported(
{TargetPlatform? platform}) → bool -
Check if the current class is supported by the defaultTargetPlatform or a specific
platform. -
isPropertySupported(
PlatformPullToRefreshControllerCreationParamsProperty property, {TargetPlatform? platform}) → bool -
Check if the given
propertyis supported by the defaultTargetPlatform or a specificplatform. -
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