MemoizedNode class final

A memoized component node.

Renderers use this marker to apply React.memo to component elements while keeping the Dart component builder portable.

See https://react.dev/reference/react/memo.

Inheritance

Constructors

MemoizedNode(ReactNode child, {bool arePropsEqual(Object? previous, Object? next)?})
Creates a memoized component node.
const

Properties

arePropsEqual bool Function(Object? previous, Object? next)?
An optional Dart-side props comparison supplied to React.memo.
final
child ReactNode
The component element to memoize.
final
hashCode int
The hash code for this object.
no setterinherited
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