FlashAnimation constructor

const FlashAnimation({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = const Duration(milliseconds: 500),
  4. int flashes = 3,
})

Implementation

const FlashAnimation({
  Key? key,
  required this.child,
  this.duration = const Duration(milliseconds: 500),
  this.flashes = 3, // Number of times the widget flashes.
}) : super(key: key);