initState method
Called when this object is inserted into the tree.
Implementation
@override
void initState() {
super.initState();
_ripple = InkwellRippleEffect(
duration: const Duration(milliseconds: 200),
rippleColor: widget.color2,
);
registerEffect(_ripple);
}