Declares a reference to a single child node projected into
This annotation semantically similar to ContentChildren, but instead represents a single (or first, if more than one is found) node being queried
- similar to
- descendants → bool
Whether to query only direct children (
false) or all children (
- first → bool
Whether to only query the first child.
- hashCode → int
The hash code for this object. [...]
- read → Object
The DI token to read from an element that matches the selector.
- runtimeType → Type
A representation of the runtime type of the object.
- selector → Object
Either the class Type or selector String.