riverpod_navigator 0.2.2 riverpod_navigator: ^0.2.2 copied to clipboard
Simple Flutter navigation with riverpod, freezed and Navigator 2.0.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add riverpod_navigator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
riverpod_navigator: ^0.2.2
Alternatively, 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:riverpod_navigator/riverpod_navigator.dart';