nav_service 0.1.0
nav_service: ^0.1.0 copied to clipboard
Este paquete ayuda a la navegación entre pantallas, sin la necesidad del context, ya que funciona con GlobalKey
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add nav_serviceThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
nav_service: ^0.1.0Alternatively, 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:nav_service/nav_service.dart';