Factory class

Annotation used with the over_react builder to declare a UiFactory for a component.

@Factory()
UiFactory<FooProps> Foo = _$Foo;

NOTE: This is only required for legacy boilerplate and can be omitted for new implementations. However, it can still be used for custom configurations.

If utilizing legacy boilerplate, must be accompanied by a Props and Component2 declaration.

Constructors

Factory()
const

Properties

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