Flutter › Flutter Cupertino (iOS Style) Widgets
What is the CupertinoNavigationBar widget, and how does its default visual appearance and typical navigation behavior actually differ from Material Design's standard AppBar widget?
BeginnerAnswer
CupertinoNavigationBar closely mimics the distinctive navigation bar style commonly found throughout native iOS apps, typically featuring a large, prominent title, a distinctly styled back button showing the previous screen's actual title text rather than simply a plain generic back arrow icon, and it is frequently paired together with CupertinoPageScaffold, and this specific combination produces page transitions and an overall navigation feel that closely matches the native iOS experience an iOS user would already genuinely expect and immediately recognize from using other native iOS apps.
CupertinoNavigationBar(
previousPageTitle: 'Home',
middle: Text('Product Details'),
)Real-world example A shopping app's product detail screen uses CupertinoNavigationBar with a previousPageTitle explicitly set, correctly displaying the actual previous screen's title text next to the back button, exactly matching the specific navigation style iOS users would already genuinely expect from other native apps.