SingleChildStatefulComponent constructor
const
SingleChildStatefulComponent({
- Key? key,
- Component? child,
Creates a component that has exactly one child component.
Implementation
const SingleChildStatefulComponent({Key? key, Component? child})
: _child = child,
super(key: key);