ContextProvider class

Constructors

ContextProvider()
factory

Properties

context BuildContext?
no setter
hashCode int
The hash code for this object.
no setterinherited
pairs Set<_Pair<ContextAware, BuildContext?>>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribe(ContextAware contextAware, BuildContext context) → void
toString() String
A string representation of this object.
inherited
unsubscribe(ContextAware contextAware) → void

Operators

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

Static Methods

getContext() BuildContext
getContextAsync(ContextGetter getter, [Duration duration = Duration.zero]) → void