FlashAnimation constructor
const
FlashAnimation({})
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);