universal_router 0.3.3 copy "universal_router: ^0.3.3" to clipboard
universal_router: ^0.3.3 copied to clipboard

This package is a implementation of Navigator 2.0. Supported Router Table concept.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add universal_router

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

dependencies:
  universal_router: ^0.3.3

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:universal_router/pages/async_loading_page.dart';
import 'package:universal_router/path_handler.dart';
import 'package:universal_router/route.dart';
import 'package:universal_router/route_data.dart';
import 'package:universal_router/route_information_parser.dart';
import 'package:universal_router/route_instance.dart';
import 'package:universal_router/route_path.dart';
import 'package:universal_router/router_delegate.dart';
import 'package:universal_router/ui/views/screen/loading.dart';
import 'package:universal_router/ui/views/screen/unknown.dart';
2
likes
90
pub points
0%
popularity

Publisher

verified publishercullen.ml

This package is a implementation of Navigator 2.0. Supported Router Table concept.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

cullen_utilities, flutter, logger

More

Packages that depend on universal_router