Skip to content
pubscout

responsive_navigation_bar

8.0.0+1, released 5 days ago by achim.io

A responsive bottom navigation bar with automatic scaling for screen sizes.

WASM-readyUses material_ui
$ flutter pub add responsive_navigation_bar
Source repository

What it does

Provides a responsive bottom navigation bar widget that automatically scales text size, icon size, and button padding depending on the screen size. It supports gradients, borders, background blur, and custom button spacing.

AI-written summary of version 8.0.0+1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a responsive bottom navigation bar for a multi-platform Flutter app.
  • You want automatic scaling of text, icons, and padding based on screen size.

Skip it when

  • Your app uses a Flutter version older than 3.47.
  • You need a navigation drawer or a standard top navigation mechanism instead of a bottom bar.

Strengths

  • Very easy to set up and beginner friendly.
  • Provides responsive sizing by default for text and icons.
  • Offers rich customization like gradients, borders, and blurred background.

Weaknesses

  • Requires maintaining the selected state manually via your app's state.
  • Requires Flutter 3.47 or newer.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Requires Flutter 3.47 or newer and the material_ui dependency.

return Scaffold(
  body: Center(child: Text('Tab $selectedIndex')),
  bottomNavigationBar: ResponsiveNavigationBar(
    selectedIndex: selectedIndex,
    onTabChange: (index) => setState(() => selectedIndex = index),
    navigationBarButtons: const [
      NavigationBarButton(text: 'Home', icon: Icons.home),
      NavigationBarButton(text: 'Settings', icon: Icons.settings),
    ],
  ),
);

Alternatives

Packages that do the same job and could replace responsive_navigation_bar.

Works with

Packages commonly used together with responsive_navigation_bar: ones it builds on, ones built on it, and its own family.