ToastAnimation.fadeRotate constructor
Combined fade and rotate animation. Best for creative/artistic interfaces.
Implementation
factory ToastAnimation.fadeRotate({Duration? duration, Curve? curve}) {
return ToastAnimation._(
type: ToastAnimationType.fadeRotate,
duration: duration,
curve: curve,
);
}