Skip to content

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

License

Notifications You must be signed in to change notification settings

Levi-Lesches/Responsive-Scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages