initState method
Called when this object is inserted into the tree.
Implementation
@override
void initState() {
super.initState();
// Initialize animation effects
_ripple = InkwellRippleEffect(
duration: const Duration(milliseconds: 400),
rippleColor: CharmColors.hazy,
);
_sparkles = SparkleEffect(
duration: const Duration(milliseconds: 600),
density: 3,
);
_flash = FlashEffect(
duration: const Duration(milliseconds: 350),
flashColor: Colors.white,
pulses: 1,
);
// Register animations with the lifecycle manager mixin
registerEffect(_ripple);
registerEffect(_sparkles);
registerEffect(_flash);
}