toWidget method
Get a Flutter widget equivalent object.
Descendants must override it.
Implementation
@override
Widget toWidget() => PhysicalModel(
shape: shape,
clipBehavior: clipBehavior,
elevation: elevation,
color: color,
shadowColor: shadowColor,
child: child?.toWidget(),
);