FocusMarker class

An InheritedWidget to propagate FocusNode down the BuildContext hierarchy.

Inheritance

Constructors

FocusMarker({required FocusNode focusNode, required Widget child})
Creates a new FocusMarker.
const

Properties

child → Widget
The widget below this widget in the tree.
finalinherited
focusNode → FocusNode
The FocusNode to propagate down the tree.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
The optional key for this widget.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() → Element
Creates an Element to manage this widget's location in the tree.
inherited
getIntrinsicHeight(int width) → int
Computes the intrinsic height of this widget under the given width constraint.
inherited
getIntrinsicWidth(int height) → int
Computes the intrinsic width of this widget under the given height constraint.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateShouldNotify(covariant FocusMarker oldWidget) → bool
Whether the framework should notify widgets that inherit from this widget.
override

Operators

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