Skip to main content

router_builder 2.0.1 copy "router_builder: ^2.0.1" to clipboard
router_builder: ^2.0.1 copied to clipboard

unlisted

Declarative Flutter navigation and deep link generator with typed routes.

CHANGELOG #

2.0.1 #

  • Enhanced docs.

2.0.0 #

  • Updated all packages to the latest version and migrated to the latest analyzer and build runner.

1.1.1 #

  • Documented all public APIs.

1.1.0 #

  • Updated exports.

1.0.0 #

Added

  • DeepLinkHandler: New generic abstract class for type-safe deep link handling
  • Enhanced RouteInfo: Added deepLinkHandler parameter to all RouteInfo constructors
  • Comprehensive Deep Link Map: Generated map now includes:
    • Route names as keys
    • First path segments as keys
    • Deep link aliases from deepLinkNames
    • Build-time conflict detection with detailed error messages
  • Migration Guide: Comprehensive guide for migrating from separate deep link registries
  • Updated Documentation: Enhanced AI docs with deep link examples and patterns

Changed

  • Code Generator: Enhanced to extract path parameters and create comprehensive key mappings
  • Deep Link Resolution: Routes are now the single source of truth for deep links
  • Generated Helper: deepLinkMap is now suitable for complete URI resolution

Benefits

  • βœ… Single source of truth for routes and deep links
  • βœ… No more RegExp patterns or manual handler registration
  • βœ… Build-time validation of deep link conflicts
  • βœ… Co-located deep link logic with route definitions
  • βœ… Reduced boilerplate code
  • βœ… Type-safe deep link handling

0.0.1β€”Initial Release #

  • INITIAL: Initial release with basic route generation
2
likes
0
points
246
downloads

Documentation

Documentation

Publisher

verified publishertomars.tech

Weekly Downloads

Declarative Flutter navigation and deep link generator with typed routes.

Repository (GitHub)
View/report issues

Topics

#flutter #navigation #routing #code-generation #deep-linking

License

unknown (license)

Dependencies

analyzer, build, dart_helper_utils, dart_style, equatable, flutter, glob, source_gen

More

Packages that depend on router_builder