JellyAnim constructor Null safety

JellyAnim(
  1. {required double radius,
  2. bool allowOverFlow = false,
  3. Duration duration = const Duration(seconds: 5),
  4. List<Color> colors = const [],
  5. Size? viewPortSize,
  6. int jellyCoordinates = 5,
  7. JellyPosition jellyPosition = JellyPosition.center,
  8. int jellyCount = 1,
  9. Paint? fillPaint}
)

Implementation

JellyAnim({
  required this.radius,
  this.allowOverFlow = false,
  this.duration = const Duration(seconds: 5),
  this.colors = const [],
  this.viewPortSize,
  this.jellyCoordinates = 5,
  this.jellyPosition = JellyPosition.center,
  this.jellyCount = 1,
  this.fillPaint,
}) {
  assert(radius > 2);
}