BloomAnimation constructor

const BloomAnimation({
  1. required String name,
  2. required List<BloomKeyframe> keyframes,
  3. Duration duration = const Duration(milliseconds: 300),
  4. Duration delay = Duration.zero,
  5. int iterations = 1,
  6. String easing = 'ease',
  7. String fillMode = 'both',
  8. String direction = 'normal',
})

Creates a new immutable BloomAnimation descriptor.

Implementation

const BloomAnimation({
  required this.name,
  required this.keyframes,
  this.duration = const Duration(milliseconds: 300),
  this.delay = Duration.zero,
  this.iterations = 1,
  this.easing = 'ease',
  this.fillMode = 'both',
  this.direction = 'normal',
});