metro_appbar 0.2.0 copy "metro_appbar: ^0.2.0" to clipboard
metro_appbar: ^0.2.0 copied to clipboard

Simple app bar with visible and collapsed menu items. Customizable buttons and menu style.

metro_appbar #

Custom app bar with simple and readable design. Customizable buttons and menu style.

Usage #

Add MetroAppBar to your widget tree:

MetroAppBar(primaryCommands: [
  PrimaryCommand(
      onPressed: () {
        // Add some logic here and to other commands
      },
      icon: Icons.account_balance_rounded,
      text: 'Eiusmod'),
  PrimaryCommand(
      onPressed: () {}, icon: Icons.ac_unit, text: 'Reprehenderit qui'),
  PrimaryCommand(
      icon: Icons.accessible_outlined, onPressed: () {}, text: 'Ipsum')
], secondaryCommands: [
  SecondaryCommand(onPressed: () {}, text: 'Commodo'),
  SecondaryCommand(onPressed: () {}, text: 'Officia'),
]);
4
likes
90
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

Simple app bar with visible and collapsed menu items. Customizable buttons and menu style.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on metro_appbar