breakpoint_scaffold 0.0.2 copy "breakpoint_scaffold: ^0.0.2" to clipboard
breakpoint_scaffold: ^0.0.2 copied to clipboard

A scaffold that responds to different screen sizes by moving the drawer, navigation bar, and side sheet.

breakpoint_scaffold #

A scaffold that responds to different screen sizes by moving the drawer, navigation bar, and side sheet.

The design differs on various screen sizes, following Material Design breakpoints.

This package implements responsive design with the following components:

  • Primary navigation items (usually placed in BottomAppBar)
  • Secondary navigation components in a navigation menu (usually a Drawer)
  • A side sheet (usually a Drawer)

How the layout look...

  • On phones:
    • The primary navigation items are in a Bottom Navigation Bar (BottomAppBar)
      • The secondary navigation items are in a modal Navigation Drawer (Scaffold.drawer)
      • The side sheet is modal (placed in Scaffold.endDrawer)
  • On tablets in portrait mode:
    • The primary navigation items are in a Navigation Rail (NavigationRail)
      • The secondary navigation items are in a modal Navigation Drawer (Scaffold.drawer)
      • The side sheet is modal (placed in Scaffold.endDrawer)
  • On tablets in landscape mode:
    • The primary navigation items are in a Navigation Rail (NavigationRail)
      • The secondary navigation items are in a modal Navigation Drawer (Scaffold.drawer)
      • The side sheet is a standard (persistent) side sheet
  • On desktop:
    • All navigation items are combined in a standard (persistent) Navigation Drawer
      • The side sheet is a standard (persistent) side sheet

Check out the example for a runnable usage

2
likes
110
pub points
0%
popularity

Publisher

unverified uploader

A scaffold that responds to different screen sizes by moving the drawer, navigation bar, and side sheet.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

adaptive_breakpoints, flutter

More

Packages that depend on breakpoint_scaffold