Last updated:
0 purchases
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.