flrouter 1.1.0 copy "flrouter: ^1.1.0" to clipboard
flrouter: ^1.1.0 copied to clipboard

outdated

Flrouter is a Flutter routing library that adds flexible routing options like parameters and clear route definitions.

Flrouter #

pub package

Flrouter is a Flutter routing library that adds flexible routing options like parameters and clear route definitions.

Usage #

To use this plugin, add flrouter as a dependency in your pubspec.yaml file.

Usage #

// Import package
import 'package:flrouter/flrouter.dart';
runApp(MaterialApp(
  onGenerateRoute: const Flrouter({
    '/accounts/{id}': (context, match) {
      return Accounts.View(id: match.parameters['id']);
    },
    '/': (context, match) {
      return Index();
    },
  }).get,
));
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Flrouter is a Flutter routing library that adds flexible routing options like parameters and clear route definitions.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, uri

More

Packages that depend on flrouter