ForwardRefNode<P, T> class final

A portable node produced by ForwardRefComponent.

Inheritance
Implemented types

Constructors

ForwardRefNode(ForwardRefRender<P, T> render, P props, {ReactRef<T>? ref})
Creates a forwarded-ref node.
const

Properties

forwardedCurrent → Object?
The current value of the Dart ref supplied by the caller, if any.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
props → P
The props passed to render.
final
ref → ReactRef<T>?
The Dart ref receiving the rendered host value.
final
render → ForwardRefRender<P, T>
The render function for this node.
final
renderIdentity → Function
The render callback identity used to cache the React component type.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildWithRefErased(ReactRef<Object?> target) → ReactNode
Invokes render through the renderer's erased ref boundary.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateForwardedRef(Object? value) → void
Updates the caller's Dart ref through an erased bridge.
override

Operators

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