Flutter Basics QuizBy Parvesh Sandila / October 2, 2023 Welcome to your Flutter Basics Quiz Name Email 1. What is the main advantage of Flutter's "hot reload" feature? It compiles code faster. It heats up your device. It reloads the entire app. It quickly applies code changes without restarting the app. None 2. Which package manager is commonly used in Flutter to manage dependencies? CocoaPods npm Gradle pub None 3. What is a "StatelessWidget" in Flutter? A widget that cannot change its state after creation A widget that can change its state A widget that uses external APIs A widget that can only be used once None 4. Which command is used to run a Flutter app in debug mode? flutter build flutter run flutter start flutter deploy None 5. Which Flutter command is used to create a new Flutter project? flutter start flutter project flutter new flutter create None 6. Which Flutter widget is used to display a modal dialog box? PopupBox AlertDialog DialogBox ModalDialog None 7. What is the purpose of the "CrossAxisAlignment" property in Flutter's "Row" widget? To control the color of text in a row To control the alignment of rows in a table To control the font size of text in a row To control the alignment of children in a row None 8. Which widget is used for making HTTP requests in Flutter? HttpRequests http HttpClient HttpRequest None 9. What does "pubspec.yaml" file contain in a Flutter project? Dependencies and project metadata App configuration settings App's source code Project documentation None 10. Which widget is used to create a scrollable list in Flutter? Column ListView Row Stack None 11. What is the purpose of the "Key" parameter in Flutter widgets? To define the widget's dimensions To specify the widget's name To provide a unique identifier for widgets in the widget tree To set the widget's background color None 12. In Flutter, what is the purpose of the MaterialApp widget? It defines the app's structure. It provides access to device hardware. It displays the app's logo. It connects to a server. None 13. Which widget is used for routing and navigation in Flutter? Navigator RouteHandler PageView RouteNavigator None 14. How do you add a gradient background to a widget in Flutter? By wrapping the widget with the "DecoratedBox" widget By using the "Background" widget By using the "Gradient" widget By setting the "backgroundGradient" property None 15. How can you add custom fonts to a Flutter app? By modifying the AndroidManifest.xml file By placing font files in the "assets" directory and configuring "pubspec.yaml" By running the "flutter fonts" command By using the "Font" widget None 1 out of 15