flutter_breadcrumb_menu 1.0.0

Flutter Android iOS web

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 #

propertytypedefaultdescriptionrequired
breadsListnullbread crumbstrue
colorColorsColors.bluebread colorfalse
heightdouble40.0menu heightfalse
separatorWidgetIcon()bread separatorfalse

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

2
likes
100
pub points
55%
popularity

Publisher

coldstone.fun

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_breadcrumb_menu