WidgetCache<T extends GetWidgetCache> class
abstract
Abstract class representing a cache for a widget in GetX.
This class defines the methods and properties required for managing the state and lifecycle of a cacheable widget.
- Annotations
Constructors
Properties
- context → BuildContext?
-
The build context associated with this cache.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widget → T?
-
The associated widget for this cache.
no setter
Methods
-
build(
BuildContext context) → Widget - Builds the widget associated with this cache.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onClose(
) → void - Cleans up resources when the cache is closed.
-
onInit(
) → void - Initializes the cache.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited