NEW
Font size
WorksheetsFlutter Quiz#1
Total questions: 20
Worksheet time: 30mins
What is Flutter?
A framework for building mobile apps
A programming language
A web browser
A type of database
Which language is used in Flutter?
Dart
Java
Python
Swift
What is the role of Android Studio in Flutter?
It is needed for Android development
It is used to design Flutter UI
It is a text editor
It is a database
What is a Flutter project folder named lib/ used for?
It contains the main application code
It stores images and fonts
It stores app settings
It contains Android files
What is pubspec.yaml used for?
To add dependencies and assets
To write app settings
To store user data
To write HTML code
What is Hot Reload in Flutter?
It updates the app code without restarting
It restarts the app completely
It deletes the app
It stops the app
What is a widget in Flutter?
A visual element in an app
A small database
A programming function
A cloud server
What is MaterialApp used for?
It defines the basic structure of the app
It shows a pop-up
It plays sounds
It manages user accounts
What is the Scaffold widget used for?
To create a basic app layout
To manage animations
To store user input
To connect with the internet
What is a Stateless Widget?
A widget that does not change
A widget that can change
A widget with a database
A widget for networking
What is a Stateful Widget?
A widget that can change
A widget that does not change
A widget used only for settings
A widget that controls other apps
Where do you store images in a Flutter project?
Inside the assets/ folder
Inside the lib/ folder
Inside the ios/ folder
Inside the main.dart file
What file do you edit to use custom fonts in Flutter?
pubspec.yaml
main.dart
build.gradle
settings.dart
What does the Padding widget do?
Adds space inside a widget
Moves an element to the center
Changes the background color
Stores user input
What does the Center widget do?
Puts an element in the middle
Moves an element to the top
Moves an element to the bottom
Removes an element
What is the Align widget used for?
To position an element inside a container
To add padding to an element
To change text color
To delete an element
What command is used to create a new Flutter project?
flutter create my_app
flutter start project
flutter run new
flutter build
Which widget is used to display images in Flutter?
Image
Text
Container
Button
How do you add an icon in Flutter?
Use the Icon widget
Use the Text widget
Use the Padding widget
Use the Row widget
How do you start a Flutter app in VS Code?
Open the app and press F5
Open the app and type flutter start
Open the app and press Ctrl + X
Open the app and type dart run
