JsonAnimatedPhysicalModelBuilderModel constructor

const JsonAnimatedPhysicalModelBuilderModel(
  1. Map<String, dynamic> args, {
  2. bool animateColor = true,
  3. bool animateShadowColor = true,
  4. BorderRadius borderRadius = BorderRadius.zero,
  5. Clip clipBehavior = Clip.none,
  6. required Color color,
  7. Curve curve = Curves.linear,
  8. required Duration duration,
  9. required double elevation,
  10. void onEnd()?,
  11. required Color shadowColor,
  12. required BoxShape shape,
  13. 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,
});