Balloon constructor

const Balloon({
  1. required ValueKey<int> key,
  2. Color color = Colors.pink,
  3. double size = 70.0,
  4. Duration duration = const Duration(seconds: 8),
  5. dynamic onAnimationComplete(
    1. ValueKey<int>
    )?,
})

Implementation

const Balloon({
  required ValueKey<int> key,
  this.color = Colors.pink,
  this.size = 70.0,
  this.duration = const Duration(seconds: 8),
  this.onAnimationComplete,
}) : super(key: key);