ToastAnimation.fadeRotate constructor

ToastAnimation.fadeRotate({
  1. Duration? duration,
  2. Curve? curve,
})

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