FLUTTER ECOSYSTEM

katana_router

A package to automatically create routing configurations with build_runner to enable type-safe routing.

Latest version
3.3.1
30-day downloads
1.7K
Likes
28
Pub points
150

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

Katana Router is a Flutter/Dart package that leverages build_runner to automatically generate type-safe routing configurations. It simplifies navigation by creating compile-time checked routes, reducing runtime errors and improving developer productivity. The package integrates seamlessly with Flutter apps across multiple platforms, including Android, iOS, Web, macOS, Windows, and Linux. By generating route definitions from annotations, it ensures consistency and enhances code maintainability. Ideal for projects requiring robust, scalable navigation structures.

Use cases
  • Type-safe navigation in large-scale Flutter apps
  • Automated route generation with build_runner
  • Cross-platform navigation setup
  • Reducing runtime navigation errors
  • Streamlined route management in complex apps
Key features
  • Build-time route generation
  • Compile-time type safety
  • Annotation-based route definition
  • Multi-platform support
  • Integration with build_runner
  • Minimal boilerplate
Suitable for
  • Developers prioritizing type safety
  • Teams managing complex navigation
  • Projects using build_runner workflows
  • Apps targeting multiple platforms
  • Large applications with structured routing
Considerations
  • Requires build_runner setup
  • Initial learning curve for annotations
  • Limited customization without code generation
  • Dependent on build process stability
  • May increase build time slightly
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add katana_router

Categories

Source repository

Related projects

No data available yet.