m4d_router 0.2.18
m4d_router: ^0.2.18 copied to clipboard

A browser routing library for Dart

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add m4d_router

With Flutter:

 $ flutter pub add m4d_router

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


dependencies:
  m4d_router: ^0.2.18

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:m4d_router/browser.dart';
import 'package:m4d_router/exceptions.dart';
import 'package:m4d_router/exeptions/RouteNotFoundException.dart';
import 'package:m4d_router/route.dart';
import 'package:m4d_router/router.dart';
import 'package:m4d_router/url_pattern.dart';
import 'package:m4d_router/utils/async_utils.dart';
import 'package:m4d_router/utils/map_utils.dart';
0
likes
50
pub points
50%
popularity

A browser routing library for Dart

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

office@mikemitterer.at

License

Apache 2.0 (LICENSE)

Dependencies

logging, uri, validate

More

Packages that depend on m4d_router