Skip to content
pubscout

native_glass_navbar

2.0.0, released 4 days ago by tnitish.com

A Flutter plugin that renders the native iOS Liquid Glass style navigation bar.

Uses material_ui
$ flutter pub add native_glass_navbar
Source repository

What it does

It uses platform views and method channels to render the actual native iOS UITabBar in your Flutter applications. It integrates with Flutter's standalone material_ui package for theme matching and provides fallback support for non-iOS platforms.

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

Use it when

  • You are building an iOS app that requires the native Liquid Glass tab bar style.
  • You want to use native SF Symbols and native tab badges on iOS.
  • You are using Flutter's standalone material_ui package.

Skip it when

  • Your app still uses Flutter's legacy in-framework Material or Cupertino libraries.
  • You need a custom cross-platform navigation bar that looks identical on Android and iOS.

Strengths

  • Provides a true native iOS navigation bar look and feel without custom Flutter implementations.
  • Supports automatic dark mode, theming, SF Symbols, and native tab badges.
  • Includes fallback support for unsupported platforms like Android.

Weaknesses

  • Requires Xcode 27 or later and iOS runtime restrictions.
  • Only renders the glass effect natively on iOS, requiring fallback widgets for other platforms.
  • Requires migration to standalone material_ui for version 2.0.0.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
1

Requires building iOS apps with Xcode 27 or later, Flutter 3.44 or later, and Dart 3.12 or later.

NativeGlassNavBar(
  currentIndex: _currentIndex,
  onTap: (index) {
    setState(() {
      _currentIndex = index;
    });
  },
  tabs: const [
    NativeGlassNavBarItem(
      label: 'Home',
      symbol: 'house',
      selectedSymbol: 'house.fill',
    ),
    NativeGlassNavBarItem(label: 'Search', symbol: 'magnifyingglass'),
    NativeGlassNavBarItem(label: 'Settings', symbol: 'gear'),
  ],
)

Alternatives

Packages that do the same job and could replace native_glass_navbar.

Works with

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