Flutter Basics QuizBy Parvesh Sandila / October 2, 2023 Welcome to your Flutter Basics Quiz Name Email 1. What does "pubspec.yaml" file contain in a Flutter project? App's source code App configuration settings Project documentation Dependencies and project metadata None 2. In Flutter, what is the purpose of the MaterialApp widget? It connects to a server. It provides access to device hardware. It displays the app's logo. It defines the app's structure. None 3. What is Flutter? A game development platform A mobile app development framework A social media platform A bird species None 4. Which widget is used for routing and navigation in Flutter? RouteHandler PageView Navigator RouteNavigator None 5. What is the purpose of the "CrossAxisAlignment" property in Flutter's "Row" widget? To control the font size of text in a row To control the alignment of children in a row To control the alignment of rows in a table To control the color of text in a row None 6. What does "Widget" mean in Flutter? A button A small, reusable UI component A database query A software bug None 7. How can you add custom fonts to a Flutter app? By placing font files in the "assets" directory and configuring "pubspec.yaml" By using the "Font" widget By running the "flutter fonts" command By modifying the AndroidManifest.xml file None 8. What is a "StatelessWidget" in Flutter? A widget that cannot change its state after creation A widget that uses external APIs A widget that can change its state A widget that can only be used once None 9. What is the primary function of the "Navigator" widget in Flutter? To control animations To manage device settings To display advertisements To navigate between different app screens None 10. Which widget is used to create a scrollable list in Flutter? Column Stack ListView Row None 11. What is the purpose of the "Key" parameter in Flutter widgets? To set the widget's background color To specify the widget's name To define the widget's dimensions To provide a unique identifier for widgets in the widget tree None 12. In Flutter, how do you add padding around a widget? By setting the widget's width and height Using the padding property Using the margin property By wrapping it with the Padding widget None 13. Which widget is used to create a bottom navigation bar in Flutter? BottomNavigationBar TabBar BottomBar NavigationBar None 14. What is the purpose of the "FutureBuilder" widget in Flutter? To build a UI for displaying future events To build responsive layouts To create animations To handle asynchronous operations and update the UI accordingly None 15. Which Flutter command is used to create a new Flutter project? flutter project flutter create flutter start flutter new None 1 out of 15