JsonAnimatedPhysicalModelBuilder constructor

JsonAnimatedPhysicalModelBuilder({
  1. bool? animateColor,
  2. bool? animateShadowColor,
  3. BorderRadius? borderRadius,
  4. Clip? clipBehavior,
  5. required Color color,
  6. Curve? curve,
  7. required Duration duration,
  8. required double elevation,
  9. VoidCallback? onEnd,
  10. required Color shadowColor,
  11. required BoxShape shape,
})

Implementation

JsonAnimatedPhysicalModelBuilder({
  this.animateColor,
  this.animateShadowColor,
  this.borderRadius,
  this.clipBehavior,
  required this.color,
  this.curve,
  required this.duration,
  required this.elevation,
  this.onEnd,
  required this.shadowColor,
  required this.shape,
}) : super(numSupportedChildren: kNumSupportedChildren);