responsive_navigation library
A library to make your app's navigation responsive and easy.
It's based on NavigationBar and NavigationRail widgets.
Usage
import 'package:responsive_navigation/responsive_navigation.dart';
...
ResponsiveNav(
items: [
NavItem(
icon: Icon(Icons.home),
label: 'Home',
),
NavItem(
icon: Icon(Icons.search),
label: 'Search',
),
NavItem(
icon: Icon(Icons.settings),
label: 'Settings',
),
],
child: Scaffold(
body: Center(
child: Text('Hello World'),
),
),
);
Classes
- Specification for content of navigation items.
- The visual styling of the ResponsiveNav widget. Contains many customizable properties.
- A responsive navigation bar.
Enums
- Defines modes to determine how a navigation label is displayed.