Flrouter Deprecated

pub package

Deprecated

Use flutter_router instead. 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: Flrouter({
    '/accounts/{id}': (context, match) => Accounts.View(id: match.parameters['id'),
    '/': (context, match) => Index(),
  }).get,
));

Libraries

flrouter