dash_router_annotations 1.1.1
dash_router_annotations: ^1.1.1 copied to clipboard
Annotations for dash_router - A type-safe Flutter routing library with code generation support.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.1 - 2025-12-21 #
Changed #
- Enhanced Code Documentation: Improved documentation accuracy and clarity across the codebase
1.1.0 - 2025-12-20 #
1.0.1 - 2025-12-14 #
Fixed #
- Fixed documentation to accurately reflect the API
- Corrected annotation documentation - removed references to non-existent
@PathParam,@QueryParam,@BodyParam - Updated README to show automatic parameter inference from constructor parameters
- Clarified that guards and middleware should be passed as instances, not types
Documentation #
- Rewrote README with accurate API examples
- Added documentation for unified
@DashRouteusage for all route types - Added documentation for
@IgnoreParamannotation - Updated Chinese documentation (README_zh.md) with correct examples
1.0.0 - 2025-12-13 #
Added #
- Initial stable release of dash_router_annotations
- Core route annotation
@DashRoutewith full configuration options:path- Route path pattern with dynamic parameters supportname- Optional custom route nameparent- Parent route for nested routingtransition- Route transition animationguards- Route guard typesmiddleware- Route middleware typeskeepAlive- Keep route alive when not visiblefullscreenDialog- Present as fullscreen dialogmaintainState- Maintain state when not visiblemetadata- Custom metadata map
@DashRouterConfigannotation for generator configuration:generateNavigation- Generate navigation extensionsgenerateTypedRoutes- Generate typed route classes
- Parameter annotations:
@PathParam- Path parameter binding@QueryParam- Query parameter binding with default value support@BodyParam- Body/arguments parameter binding
- Special route annotations:
@InitialRoute- Mark as initial/home route@ShellRoute- Define shell routes for nested navigation@RedirectRoute- Define route redirects@DialogRoute- Define dialog routes
- Built-in transition classes (all
constconstructible):DashTransition- Abstract base classDashFadeTransition- Fade animationDashSlideTransition- Slide from any direction (left, right, top, bottom)DashScaleTransition- Scale animation with configurable alignmentDashRotationTransition- Rotation animationDashScaleFadeTransition- Combined scale and fadeDashSlideFadeTransition- Combined slide and fadePlatformTransition- Platform-adaptive (Material on Android, Cupertino on iOS)MaterialTransition- Material Design transitionCupertinoTransition- iOS-style slide transitionNoTransition- Instant transition without animation
Changed #
- N/A (initial release)
Deprecated #
- N/A (initial release)
Removed #
- Removed
DashCurveclass - transitions now useCurves.easeInOutby default- This simplifies the API while maintaining smooth animations
- Custom curves can still be used via
CustomAnimatedTransitionat runtime
Fixed #
- N/A (initial release)
Security #
- N/A (initial release)