Skip to content

peterzagoranski/flutter_router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, ));

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages