El
Wrapper class enabling operator-based element composition.
Wraps a ReactElement and provides the >> operator for adding children.
Uses a class instead of extension type to enable runtime type checking.
Constructors
- El(ReactElement _element)
- Wraps an existing element for operator composition.
Properties
- element → ReactElement
-
Access the underlying element.
no setter
- 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
-
toElement(
) → ReactElement - Implicit conversion to ReactElement for use in element trees.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >>(
Object? child) → ReactElement - Adds children using the >> operator.