Framework ArchitectureFilesystem Routing
Zero-Boilerplate Navigation
Filesystem Routing
Bloom brings the intuitive filesystem routing of Next.js and SvelteKit to Flutter, compiling your directory tree into high-performance, type-safe go_router routes.
File & Directory Conventions
Every Dart file placed inside lib/routes/ automatically becomes an accessible URL route:
lib/routes structure
bash
Dynamic Routes ([id].dart)
Enclose parameter names in brackets like [id].dart. Bloom automatically parses the route parameters and passes them into your widget constructor:
lib/routes/users/[id].dart
dart
Authentication & Route Guards
Guards intercept navigation attempts and perform deterministic redirects based on reactive auth signals:
lib/app/guards.dart
dart