flutter_breadcrumb_menu 1.0.0 copy "flutter_breadcrumb_menu: ^1.0.0" to clipboard
flutter_breadcrumb_menu: ^1.0.0 copied to clipboard

Breadcrumb menu for flutter app, use this plugin to show a breadcrumb menu.

flutter breadcrumb menu #

Test

example

Install #

dependencies:
  flutter_breadcrumb_menu: ^0.1.2

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)

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 #

  1. Fork it (https://github.com/xrr2016/flutter-breadcrumb.git)
  2. Create your feature branch (git checkout -b feature/foo)
  3. Commit your changes (git commit -am 'Add some foo')
  4. Push to the branch (git push origin feature/foo)
  5. Create a new Pull Request

License #

MIT

3
likes
40
pub points
0%
popularity

Publisher

verified publishercoldstone.fun

Breadcrumb menu for flutter app, use this plugin to show a breadcrumb menu.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_breadcrumb_menu