transitions/rotate_transition library

Classes

RotatePageRoute
A PageRouteBuilder that provides a "rotate" transition animation for page navigation. The RotatePageRoute class is used to create a page route that transitions the next page into view with a "rotate" animation. The animation can be configured to use different axis directions and inclinations, as well as whether to fade in the next page. The currentPage parameter is the widget that is currently displayed on the screen. The nextPage parameter is the widget that will be displayed on the new page. The animationDuration parameter specifies the duration of the animation, with a default of 500 milliseconds. The numberOfRotations parameter specifies the number of rotations to apply, with a default of 1. The clockwise parameter specifies whether the rotations should be clockwise (true) or counter-clockwise (false), with a default of true. This method uses the RotatePageRoute class to create the custom transition animation.