Flutter Basics QuizBy Parvesh Sandila / October 2, 2023 Welcome to your Flutter Basics Quiz Name Email 1. What is the primary function of the "Navigator" widget in Flutter? To manage device settings To control animations To navigate between different app screens To display advertisements None 2. How do you add a gradient background to a widget in Flutter? By setting the "backgroundGradient" property By wrapping the widget with the "DecoratedBox" widget By using the "Gradient" widget By using the "Background" widget None 3. Which widget is used to create a scrollable list in Flutter? Column ListView Row Stack None 4. Which command is used to run a Flutter app in debug mode? flutter start flutter build flutter deploy flutter run None 5. Which widget is used for making HTTP requests in Flutter? HttpRequests http HttpRequest HttpClient None 6. What is the purpose of the "setState" method in Flutter? To handle user input To update the widget's state and trigger a rebuild To define the app's theme To build the app's UI None 7. Which widget is used to create a bottom navigation bar in Flutter? BottomNavigationBar NavigationBar TabBar BottomBar None 8. What is the purpose of the "CrossAxisAlignment" property in Flutter's "Row" widget? To control the alignment of children 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 color of text in a row None 9. Which widget is used for routing and navigation in Flutter? PageView Navigator RouteNavigator RouteHandler None 10. What is the purpose of the "Key" parameter in Flutter widgets? To set the widget's background color To define the widget's dimensions To specify the widget's name To provide a unique identifier for widgets in the widget tree None 11. What is the purpose of the "Expanded" widget in Flutter's "Column" or "Row" layouts? To create a border around the widget To add padding to the widget To expand the widget to fill the available space To make the widget disappear None 12. What is the purpose of the "async" keyword in Dart? To declare a constant value To define a function as a constructor To indicate that a function is asynchronous and may return a Future To create an anonymous function None 13. In Flutter, what is the default layout orientation for the "Column" widget? Diagonal Vertical Horizontal Circular None 14. How do you pass data between screens in Flutter? Using the "Navigator" widget Using the "SharedPreferences" package Using constructor parameters Using the "Intent" class None 15. What does "Widget" mean in Flutter? A software bug A database query A small, reusable UI component A button None 1 out of 15