Component class
Annotation used with the over_react
builder to declare a UiComponent
class for a component.
@Component()
class FooComponent extends UiComponent<FooProps> {
render() => Dom.div()(props.bar);
}
Must be accompanied by a Factory and Props declaration.
Deprecated. Use the Component2 annotation alongside UiComponent2
/ UiStatefulComponent2
instead.
- Implementers
- Annotations
-
- @Deprecated('4.0.0')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isWrapper → bool
-
Whether the component clones or passes through its children and needs to be
treated as if it were the wrapped component when passed in to
isComponentOfType
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtypeOf → Type?
-
The component class of this component's "parent type".
final
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