getCustomAnimation method
Customized transition animation
Implementation
Widget getCustomAnimation({required Animation<double> animation}) {
return FadeTransition(
opacity: animation,
// This will call getDefaultComputed and pass animation as an argument.
child: getDefaultTooltip(preferOri, animation),
);
}