CupertinoApp
CupertinoApp behaves the same way for Cupertino as MaterialApp does for Material Design. It adds striking features and facilities for the developer to follow the design patterns of Cupertino. For example, it makes the app use, by default, a bouncing scroll that's typical in iOS, a custom font that's different from Android, and more.
Along with theme, CupertinoApp adds helper properties for localization, for example, and also navigation between screens, which we will explore in Chapter 7, Routing: Navigating Between Screens.
This works the same way as Material Design. We can choose to use CupertinoApp or not. So, we still be able to use the CupertinoTheme and CupertinoThemeData widgets the same way as we would do for Material ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access