Back to results for “Responsive UI”
Flutter › Flutter Cupertino (iOS Style) Widgets

What are Cupertino widgets in Flutter, and how do they let you build a user interface that closely matches Apple's own native iOS design language and visual style?

Beginner

Answer

Cupertino widgets are a complete, dedicated set of Flutter widgets specifically designed to closely mimic Apple's own native iOS design language, including its own distinctive typography, navigation patterns, and specific interactive controls, and using these Cupertino widgets instead of the more commonly used Material Design widgets lets your Flutter app feel genuinely native and immediately familiar to an iOS user, who would otherwise likely notice and find a Material Design styled interface feeling somewhat visually out of place and unfamiliar on their specific iOS device.
CupertinoApp(
  home: CupertinoPageScaffold(
    navigationBar: CupertinoNavigationBar(middle: Text('Home')),
    child: Center(child: Text('Hello iOS')),
  ),
)
Real-world example A finance app targeting a primarily iOS focused user base builds its entire interface using Cupertino widgets specifically to feel genuinely native and immediately familiar, closely matching the same distinctive visual style found in other popular native iOS apps that user already regularly uses.

Common follow-ups: Can a single Flutter app actually mix both Material and Cupertino widgets together within the same app?;How does CupertinoApp differ from the more commonly used MaterialApp widget?