SimpleProvider<T> class

Inheritance
Available extensions

Constructors

SimpleProvider(_LazyCallback<T> creator, {bool autoDispose = true, void onDisposed()?})

Properties

hashCode int
The hash code for this object.
no setterinherited
mounted bool
no setterinherited
read → T
returs always the same instance of T, if it is not created yet this will create it.
no setterinherited
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
inherited
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.
inherited
setArguments(dynamic arguments) → void
set the arguments to be available in the ProviderReference
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

withTag<T extends SimpleNotifier>(_LazyCallback<T> creator, {bool autoDispose = true}) SimpleTagProvider<T>