flutter_router

Last updated:

0 purchases

flutter_router Image
flutter_router Images
Add to Cart

Description:

flutter router

Flutter Router #

Flutter routing library that adds flexible routing options like parameters and clear route definitions.
Usage #
To use this plugin, add flutter_router as a dependency in your pubspec.yaml file.
Usage #
// Import package
import 'package:flutter_router/flutter_router.dart';
copied to clipboard
runApp(MaterialApp(
onGenerateRoute: Router({
'/accounts/{id}': (context, match) => Account(id: match.parameters['id'),
'/': (context, match) => Index(),
}).get,
));
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.