getCustomAnimation method

Widget getCustomAnimation({
  1. required Animation<double> animation,
})

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),
  );
}