short_navigation 0.3.5 short_navigation: ^0.3.5 copied to clipboard
This package built to navigate between screens (routes) without using context (BuildContext).
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add short_navigation
With Flutter:
$ flutter pub add short_navigation
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
short_navigation: ^0.3.5
Alternatively, your editor might support dart pub get
or 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';