- Inheritance
-
- Implementers
- Annotations
-
Constructors
-
BaseProvider(_LazyCallback<T> _creator, {bool autoDispose = false, void onDisposed()?})
-
Properties
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
mounted
→ bool
-
no setter
-
read
→ T
-
returs always the same instance of
T
, if it is not created yet this will create it.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose({bool avoidOnDisposeCallback = false})
→ void
-
dispose the notifier linked to this provider
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideProvider(_LazyCallback<T> creator, {bool? autoDispose})
→ void
-
overrides the creator function of this provider useful for unit test.
-
setArguments(dynamic arguments)
→ void
-
set the arguments to be available in the ProviderReference
-
toString()
→ String
-
A string representation of this object.
inherited
Static Properties
-
creatorName
↔ String?
-
save the current route name in flutter apps
getter/setter pair