AmRefreshWidgetController class

Gets The Controller for the AmRefreshWidget. you may add state variables or Refresh the current state or ..etc.

Constructors

AmRefreshWidgetController.of(BuildContext ctx)
Gets The Controller for the AmRefreshWidget ==> Use the context given in the builder. if the context is not for an activated AmRefreshWidget there will be an error.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
key UniqueKey
final
nullableStatePoint → _AmState<T?> Function<T>({required int id, T? initialValue})
Save or Get a nullable state variable related to this widget
final
refresh → void Function()
Fires all TriggerFunctions and Refreshes all (RefreshWidget)s related to the given provider Considering all StatePoints
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statePoint → _AmState<T> Function<T>({required int id, required T initialValue})
Save or Get a state variable related to this widget
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

Operators

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