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.
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.
- persistent_bottom_nav_bar_v2
Customizable persistent bottom navigation bar with 17 prebuilt styles and separate tab stacks.
84Compare - flutter_floating_bottom_bar
An adaptable floating bottom bar that reacts to scrolling and stays accessible.
87Compare - liquid_glass_bottom_bar
A Flutter bottom navigation bar with frosted glass background and animated active pill.
48Compare - cupertino_sidebar
iOS-style sidebars and floating tab bars for iPadOS navigation in Flutter.
47Compare
Works with
Packages commonly used together with native_glass_navbar: ones it builds on, ones built on it, and its own family.