Nested constructor
Nested({
- Key? key,
- required List<
SingleChildComponent> children, - Component? child,
Allows configuring key, children and child
Implementation
Nested({
Key? key,
required List<SingleChildComponent> children,
Component? child,
}) : assert(children.isNotEmpty),
_children = children,
_child = child,
super(key: key);