FocusStreamManager class

A FocusManager with ChangeNotifierStream.

Inheritance
Mixed in types

Constructors

FocusStreamManager()

Properties

controllers Set<MultiStreamController<FocusManager>>
@visibleForTesting, read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
hasListeners bool
Whether any listeners are currently registered. [...]
@protected, read-only, inherited
highlightMode FocusHighlightMode
Indicates the current interaction mode for focus highlights. [...]
read-only, inherited
highlightStrategy FocusHighlightStrategy
Sets the strategy by which highlightMode is determined. [...]
read / write, inherited
primaryFocus FocusNode
The node that currently has the primary focus.
read-only, inherited
rootScope FocusScopeNode
The root FocusScopeNode in the focus tree. [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stream Stream<FocusManager>
Stream of T extending ChangeNotifier, on a change notification. [...]
read-only, inherited

Methods

addHighlightModeListener(ValueChanged<FocusHighlightMode> listener) → void
Register a closure to be called when the FocusManager notifies its listeners that the value of highlightMode has changed.
inherited
addListener(VoidCallback listener) → void
Register a closure to be called when the object changes. [...]
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children. [...]
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
dispose() Future<void>
Do super.dispose and close all the streams. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
notifyListeners() → void
Call all the registered listeners. [...]
removeHighlightModeListener(ValueChanged<FocusHighlightMode> listener) → void
Remove a previously registered closure from the list of closures that the FocusManager notifies.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes. [...]
inherited
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

Operators

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