short_navigation 2.5.3
short_navigation: ^2.5.3 copied to clipboard
A lightweight Flutter navigation package that allows navigating between routes without requiring BuildContext.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add short_navigationThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
short_navigation: ^2.5.3Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:short_navigation/short_navigation.dart';