zrouter 0.0.1 copy "zrouter: ^0.0.1" to clipboard
zrouter: ^0.0.1 copied to clipboard

discontinued

知乎 Fluter 全局路由

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add zrouter

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

dependencies:
  zrouter: ^0.0.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:zrouter/annotations.dart';
import 'package:zrouter/resolver/interfaces.dart';
import 'package:zrouter/resolver/match_result.dart';
import 'package:zrouter/resolver/matcher.dart';
import 'package:zrouter/resolver/models.dart';
import 'package:zrouter/resolver/url_utils.dart';
import 'package:zrouter/resolver/utils.dart';
import 'package:zrouter/route_mappers.dart';
import 'package:zrouter/router.dart';
0
likes
10
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

知乎 Fluter 全局路由

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on zrouter