WidgetRef class abstract


WidgetRef 実装

Constructors

WidgetRef()

Properties

container ProviderContainer
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

Methods

invalidate<S>(ProviderBase<S> provider, {bool keepPrevious = true}) → void
invoke<R, S>(Call<R, S> call) Future<R>
listen<S>(ProviderBase<S> provider, void listener(S? previous, S next), {bool fireImmediately = false}) ProviderSubscription<S>
listenManual<S>(ProviderBase<S> provider, void listener(S? previous, S next), {bool fireImmediately = false}) ProviderSubscription<S>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read<S>(ProviderBase<S> provider) → S
refresh<T>(Provider<T> provider) → T
refreshValue<T>(AsyncProvider<T> provider, {bool keepPrevious = true}) Future<T>
scope<T>(Scope<T> token) → T
toString() String
A string representation of this object.
inherited
watch<S>(ProviderBase<S> provider) → S

Operators

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