expand method
Wrap if necessary.
child
: The child widget.
Implementation
@protected
Widget expand(Widget child) {
if (spwmlParams.p.weight != null) {
return Expanded(flex: spwmlParams.p.weight!, child: child);
} else {
return child;
}
}