toWidget method

  1. @override
Widget toWidget()
override

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(),
);