HookProviderContainer class
- Implemented types
-
- Mixed in types
-
- Implementers
- Available Extensions
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
schedule
→ void Function(void ())
-
final
Methods
-
addListener<T>(void listener(T))
→ void Function()
-
-
addListenerUnsafe(Type type, void listener(Object?))
→ void Function()
-
-
debugDescribeChildren()
→ List<DiagnosticsNode>
-
Returns a list of DiagnosticsNode objects describing this node's
children.
override
-
debugFillProperties(DiagnosticPropertiesBuilder properties)
→ void
-
Add additional properties associated with the node.
override
-
dispose()
→ void
-
-
getDependents(Type type)
→ Set<Type>
-
-
getUnsafe(Type type, {bool? watch})
→ dynamic
-
Retrieves the value of the requested
type
and optionally watches for its change.
Returned values are guaranteed to be of type type
or valueNotFound when it isn't found.
If watch
is not set, implementation should perform an educated guess (e.g. based on whether it's called during
a build).
Exact meaning of "watching" depends on the implementation and may not be supported.
override
-
initialize(Map<Type, Object? Function()> providers)
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
reassemble()
→ void
-
-
refresh([Set<Type>? providers])
→ void
-
-
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style})
→ DiagnosticsNode
-
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString({DiagnosticLevel minLevel = DiagnosticLevel.info})
→ String
-
A string representation of this object.
inherited
-
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug})
→ String
-
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug})
→ String
-
Returns a one-line detailed description of the object.
inherited
-
toStringShort()
→ String
-
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
-
waitUntil<T>(bool predicate(T))
→ Future<T>
-
-
waitUntilUnsafe(Type type, bool predicate(Object?))
→ Future<Object?>
-