browser_router 0.1.0
browser_router: ^0.1.0 copied to clipboard
An advanced navigation system for Flutter that enables typed routes, custom transitions, and robust overlay management.
0.1.0 #
- BREAKING CHANGE: Defined
ChangeDrawerSizesemantic typedef (void Function({required bool isExpanded})) and updatedModalBase.bodysignature to use named boolean parameters, complying withavoid_positional_boolean_parameterslinter rule. - Refactor: Completely decoupled core library from
flutter/material.dartandflutter/cupertino.dartacross alllib/files in favor of purepackage:flutter/widgets.dartandpackage:flutter/foundation.dart. - Refactor: Updated
SheetBaseand internal drawer resizing calls to pass namedisExpandedparameter. - Fix: Resolved
SwipeAnimationassertion logic (!enableDrag || animationController != null) and gesture passing. - Fix: Added null safety guards in
SwipeDownRightGesturesandSwipeUpLeftGesturesforprimaryDeltaand division by zero. - Fix: Resolved race condition in
OverlayModal.insert()by initializingcompleterbefore animation starts and guarding against disposal. - Fix: Added
dispose()inOverlayManagerStateto close the concurrencyPooland cleanup active overlay entries. - Fix: Added
didUpdateWidgetin_RouteObserverProviderStateto handlerouteObserverchanges. - Fix: Fixed typos in
screenPercentaje->screenPercentageanduseSafeAre->useSafeArea. - Fix: Refined return types in
Tracenavigation methods toFuture<void>. - Chore: Upgraded
coolintto^3.0.0-rc.1and updated codebase for strict analyzer rules (strict_raw_type,avoid_types_on_closure_parameters,inference_failure_on_instance_creation, etc.). - Chore: Upgraded
equatableto^2.1.0andpoolto^1.5.3. - Test: Added comprehensive 22-test unit and widget test suite covering
route_arguments(polymorphism & exact types),swipe_animation,overlay_manager(lifecycle & race conditions),route_observer,sheet, anddeferred_browser_route.
0.0.5 #
- Feat: Changed
DeferredBrowserRouteto usepageBuilderinstead ofpagein its constructor, ensuring the page is built only after the deferred library is loaded, preventing potential issues. - Fix: Updated
DeferredBrowserRoutetest cases to align with the newpageBuilderconstructor parameter.
0.0.4 #
- Feat: Add
toCompletedBrowserRoutemethod toDeferredBrowserRouteto allow synchronous route creation after deferred content loading. - Refactor: Improve
DeferredBrowserRouteinternal logic for future handling and error display. - Test: Enhance test coverage for
DeferredBrowserRoutewithWidgetsAppand customPageRouteto minimize Material Design dependencies.
0.0.3 #
- Fix: Prevent popping when no routes are available in
BrowserPageRouteswipe gestures. - Fix: Ensure
DeepLinkParamargument retrieval is mounted in_RouteObserverProviderState.
0.0.2 #
- Update repository, homepage, and issue_tracker fields.
0.0.1 #
- Initial release of the
browserpackage. - Centralized Route Management: Define all app routes in one place.
- Typed Route Arguments: Pass strongly-typed arguments to your routes safely, with validation.
- Custom Transitions: Easily implement custom page transitions (slide, fade, etc.).
- Versatile Presentations: Display routes as full pages, modal popups, or swipeable bottom sheets using
TraceRoute. - Semantic Navigation API: Create a reusable, semantic, and centralized navigation API with
Traceobjects. - Deep Linking: Automatically parses URL query parameters.
- Advanced Overlays & Popups: Show sequential banners, complex modals, and multi-level popups.