cupertino_sidebar
1.0.1, released 2 years ago by clevertasks.de
iOS-style sidebars and floating tab bars for iPadOS navigation in Flutter.
What it does
Brings iOS-style sidebars and floating tab bars to Flutter applications. It enables iPadOS-style navigation using widgets like CupertinoSidebar and CupertinoFloatingTabBar.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building an iPadOS-style layout in Flutter using Cupertino widgets.
- You need a native-feeling sidebar or floating tab bar for app navigation.
Skip it when
- You are using exclusively Material Design navigation components.
- You need a complete ready-made adaptive scaffold that automatically switches layout types (not documented as fully built yet).
Strengths
- Provides native iOS/iPadOS-style navigation patterns.
- Supports expandable sections within the sidebar.
Weaknesses
- Limited to specific Cupertino navigation patterns.
- Adaptive scaffold functionality is currently planned on the roadmap rather than fully detailed in the current version.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
CupertinoSidebar(
selectedIndex: _selectedIndex,
onDestinationSelected: (value) {
setState(() {
_selectedIndex = value;
});
},
children: [
SidebarDestination(
icon: Icon(CupertinoIcons.home),
label: Text('Home'),
),
],
);Alternatives
Packages that do the same job and could replace cupertino_sidebar.
- native_glass_navbar
A Flutter plugin that renders the native iOS Liquid Glass style navigation bar.
72Compare - flutter_floating_bottom_bar
An adaptable floating bottom bar that reacts to scrolling and stays accessible.
87Compare - bart
A bottom navigation bar and tabulation system using Navigator for switching tabs.
65Compare - persistent_bottom_nav_bar_v2
Customizable persistent bottom navigation bar with 17 prebuilt styles and separate tab stacks.
84Compare