Ref

When this is provided as the ref prop, a reference to the rendered component will be available via current.

See createRef for usage examples and more info.

Constructors

Ref.fromJs(JsRef jsRef)
Creates a Ref from a JavaScript ref object.
factory

Properties

current ↔ T
A reference to the latest instance of the rendered component.
getter/setter pair

hashCode int

The hash code for this object.
no setterinherited

jsRef JsRef

A JavaScript ref object returned by React.createRef() or useRef().
final

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

toString() String

A string representation of this object.
inherited

Operators

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