easy_navigation_flutter 0.0.4 easy_navigation_flutter: ^0.0.4 copied to clipboard
Flutter package for simplified page-to-page navigation.
easy_navigation_flutter #
A Flutter package for simplified page-to-page navigation using a custom method (NavigatorHelper.to(pageName)
).
Features #
- Simple Navigation: Navigate between pages using a straightforward method.
- Centralized Route Management: Manage routes and configurations in one place.
- Typed Navigation: Support typed navigation for type safety.
- Middleware Support: Intercept and modify navigation behavior with middleware functions.
Usage #
-Import the package import 'package:flutter_navigator/flutter_navigator.dart';
-Navigate Between Pages NavigatorHelper.to(AppRoutes.profile);
// Usage: NavigatorHelper.to(AppRoutes.profile, middleware: [AuthMiddleware.checkLoggedIn]);
Installation #
Add easy_navigation_flutter
to your pubspec.yaml
file:
dependencies:
easy_navigation_flutter: ^0.0.5 # Replace with the latest version