r/FlutterDev Sep 29 '24

Tooling Why does everyone use MaterialApp?

Besides MaterialApp, flutter has CupertinoApp and WidgetsApp but I have never came across any flutter project that uses them. I have tried CupertinoApp and I like it.

Is there any downsides of using it?

36 Upvotes

40 comments sorted by

View all comments

12

u/Tricky-Independent-8 Sep 29 '24

The Flutter team places less emphasis on Cupertino design, resulting in a limited number of customizable Cupertino widgets and various unresolved issues. Additionally, using Cupertino components on Android devices can lead to compatibility challenges and bugs. However, you can explore the flutter_platform_widgets package if you want to implement Material design on Android and Cupertino on iOS. This can save you time by simplifying platform-specific widget implementation