onTap method
void
onTap()
Implementation
void onTap() async {
if (isMouse) {
opacityAnimController.reverse(from: 0);
radiusAnimController.reverse(from: 0).then((value) {
opacityAnimController.forward();
radiusAnimController.forward();
});
} else {
opacityAnimController.forward(from: 0);
radiusAnimController.forward(from: 0).then((value) {
opacityAnimController.reverse();
radiusAnimController.reverse();
});
}
}