Last updated:
0 purchases
flutter breadcrumb menu
flutter breadcrumb menu #
Install #
dependencies:
flutter_breadcrumb_menu: ^0.1.2
copied to clipboard
Usage #
// defined routes
MaterialApp(
routes: {
Dev.routeName: (_) => Dev(),
FrontEnd.routeName: (_) => FrontEnd(),
ColdStone.routeName: (_) => ColdStone(),
FlutterDev.routeName: (_) => FlutterDev(),
},
);
// create breads
List<Bread> breads = [
Bread(label: "冷石科技有限公司 ", route: ColdStone.routeName),
Bread(label: "研发部", route: Dev.routeName),
Bread(label: "大前端组", route: FrontEnd.routeName),
Bread(label: "Flutter 开发", route: FlutterDev.routeName),
];
// render
Breadcrumb(breads: breads)
copied to clipboard
Config #
property
type
default
description
required
breads
List
null
bread crumbs
true
color
Colors
Colors.blue
bread color
false
height
double
40.0
menu height
false
separator
Widget
Icon()
bread separator
false
Contribute #
Fork it (https://github.com/xrr2016/flutter-breadcrumb.git)
Create your feature branch (git checkout -b feature/foo)
Commit your changes (git commit -am 'Add some foo')
Push to the branch (git push origin feature/foo)
Create a new Pull Request
License #
MIT
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.