navigator_resizable 2.0.0
navigator_resizable: ^2.0.0 copied to clipboard
A thin wrapper around Navigator that *visually* resizes the child navigator to match the size of the content displayed in the current route.
Changelog #
2.0.0 #
- Updated minimum supported Flutter SDK to
3.29.0
. - The invocation order of
NavigatorEventListener
callbacks has been changed to align with the behavior of the latest Flutter SDK.
Background #
Flutter 3.29.0
introduced changes to the sequence of underlying navigator events, which may affect the invocation order of NavigatorEventListener
callbacks.
Breaking changes in NavigatorEventObserver
#
The sequence in which NavigatorEventObserver
invokes its NavigatorEventListener
callback methods has been adjusted to align with the updated Flutter SDK. These changes do not affect the behavior of the NavigatorResizable
widget itself.
Zero-Duration Pop Transitions
Zero-duration pop transitions occur when a route is popped with no animation duration (i.e., transitionDuration: Duration.zero
), causing the transition to complete instantly without any visual animation. Previously, the didEndTransition(routeBelow)
callback was invoked immediately after the didPopNext(routeBelow, poppedRoute)
callback. Now, the didStartTransition(poppedRoute, routeBelow, ...)
callback is invoked after didPopNext(...)
, and the didEndTransition(routeBelow)
callback is invoked later after the transition has settled.
Declarative Multi-Route Pushes
Previously, when pushing multiple routes via a single state change (e.g., navigating from /A
to /A/B/C
), the didInstall(B)
callback for intermediate routes was invoked early in the sequence alongside the primary transition events for route C
. Now, the didInstall(B)
callback for intermediate routes is invoked later in the sequence, after the primary transition has completed (i.e., after didEndTransition(C)
).
1.0.2 #
- Rename the
ResizablePageBuilder
toResizablePageRoutePageBuilder
, and theResizablePageRoutePageBuilder
toResizablePageRouteBuilder
.
1.0.1 #
- Fix broken links in the README.
1.0.0 #
- Initial release.