PhysicalModelExt extension
Methods
-
animate(
{Curve curve = Curves.linear, Duration duration = const Duration(milliseconds: 300), VoidCallback? onEnd, required Color color, double borderRadius = 5.0, Clip clipBehavior = Clip.none, double elevation = 0, Color shadowColor = Colors.grey, BoxShape shape = BoxShape.rectangle, required Widget child}) → AnimatedPhysicalModel -
Available on PhysicalModel, provided by the PhysicalModelExt extension