flutter_router 1.0.7 copy "flutter_router: ^1.0.7" to clipboard
flutter_router: ^1.0.7 copied to clipboard

outdated

Flutter routing library that adds flexible routing options like parameters and clear route definitions

Flutter Router #

pub package

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';
runApp(MaterialApp(
  onGenerateRoute: Router({
    '/accounts/{id}': (context, match) => Account(id: match.parameters['id'),
    '/': (context, match) => Index(),
  }).get,
));
4
likes
0
pub points
70%
popularity

Publisher

verified publisherelita.si

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 flutter_router