navigating_drawer

A Flutter Package to enable navigating inside drawers easy.

navigating_drawer

Usage

drawer: NavigatingDrawer(
  body: NavigatingDrawerList(
    children: [
      NavigatingDrawerListItem(
        title: Text('Item 1'),
        pushPage: NavigatingDrawerPage(
          body: NavigatingDrawerList(
            children: [
              NavigatingDrawerListItem(
                title: Text('SubItem 1'),
              ),
              NavigatingDrawerListItem(
                title: Text('SubItem 2'),
              ),
              NavigatingDrawerListItem(
                title: Text('SubItem 3'),
              ),
            ],
          ),
        ),
      ),
      NavigatingDrawerListItem(
        title: Text('Item 2'),
      ),
      NavigatingDrawerListItem(
        title: Text('Item 3'),
      ),
    ],
  ),
),

Libraries