plus_router 1.0.0-dev.1 copy "plus_router: ^1.0.0-dev.1" to clipboard
plus_router: ^1.0.0-dev.1 copied to clipboard

outdated

Router Module for Fluter Project

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add plus_router

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  plus_router: ^1.0.0-dev.1

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:plus_router/main.dart';
import 'package:plus_router/plus_route.dart';
import 'package:plus_router/plus_router_configuration.dart';
import 'package:plus_router/plus_router_error.dart';
import 'package:plus_router/plus_router_state.dart';
import 'package:plus_router/route_information_parser.dart';
import 'package:plus_router/router_delegate.dart';