📱 Flutter
Beginner
What is the MaterialApp widget?
Answer
MaterialApp is the top-level widget that wraps the entire Flutter application with Material Design support. It configures the app-wide theme, navigation routes, locale, and the home screen. It also sets up the Navigator, which manages the stack of screens. Most Flutter apps start with a MaterialApp as the root widget returned by runApp(). For iOS-style apps, the equivalent is CupertinoApp.