flrouter 1.1.2 flrouter: ^1.1.2 copied to clipboard
Flrouter is a Flutter routing library that adds flexible routing options like parameters and clear route definitions.
Flrouter [Deprecated] #
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,
));