LoadAware class abstract

Interface for GetxControllerPlus that manages time-consuming tasks which expects the UI to notify the user that there are one or more ongoing processes running.

Implementers

Constructors

LoadAware()

Properties

hashCode int
The hash code for this object.
no setterinherited
isLoading bool
Accessible within GetxControllerPlus Also accessed by support Widget LoadAwareGetView.
getter/setter pair
onWillPop WillPopCallback
Parent widget bound by the GetxController will have onWillPop always return false if isLoading is true.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isLoadingByTag(String tag) bool
Same behavior with default isLoading. Returns isLoading value for a specific tag.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setIsLoadingByTag(String tag, bool value) → void
Behaves like isLoading setter. Mutates the value of isLoading for a specific tag
toString() String
A string representation of this object.
inherited
wait<T>(Future<T> computation, {String? tag}) Future<T?>
Sets isLoading to true, then run the computation. Upon completion (including error), sets isLoading to false.

Operators

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