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