JsonAnimatedPhysicalModelBuilderModel constructor
const
JsonAnimatedPhysicalModelBuilderModel(
- Map<
String, dynamic> args, { - bool animateColor = true,
- bool animateShadowColor = true,
- BorderRadius borderRadius = BorderRadius.zero,
- Clip clipBehavior = Clip.none,
- required Color color,
- Curve curve = Curves.linear,
- required Duration duration,
- required double elevation,
- void onEnd()?,
- required Color shadowColor,
- required BoxShape shape,
- required JsonWidgetData child,
Implementation
const JsonAnimatedPhysicalModelBuilderModel(
super.args, {
this.animateColor = true,
this.animateShadowColor = true,
this.borderRadius = BorderRadius.zero,
this.clipBehavior = Clip.none,
required this.color,
this.curve = Curves.linear,
required this.duration,
required this.elevation,
this.onEnd,
required this.shadowColor,
required this.shape,
required this.child,
});