0
0
Fluttermobile~5 mins

First Flutter app (Hello World) - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main function in a Flutter app?
The main function is the entry point of a Flutter app. It calls runApp() to start the app and display the UI.
Click to reveal answer
beginner
What widget is used to display simple text in Flutter?
The Text widget is used to show a string of text on the screen.
Click to reveal answer
beginner
What does runApp() do in Flutter?
runApp() takes a widget and makes it the root of the widget tree, showing it on the screen.
Click to reveal answer
beginner
Why do we use MaterialApp in a Flutter app?
MaterialApp provides basic visual structure and styling following Material Design, like app bars and themes.
Click to reveal answer
beginner
How do you center a widget in Flutter?
Use the Center widget to place its child widget in the middle of the screen.
Click to reveal answer
Which function starts a Flutter app?
AstartApp()
BrunApp()
CmainApp()
DlaunchApp()
Which widget displays text on the screen?
AText
BContainer
CRow
DScaffold
What widget centers its child in the available space?
ACenter
BAlign
CPadding
DExpanded
MaterialApp is used to:
ADisplay images
BCreate a button
CProvide Material Design structure and theming
DHandle user input
Where do you write the code to start your Flutter app?
AInside the runApp() function
BInside the build() method
CInside the MaterialApp widget
DInside the main() function
Explain the steps to create and run a simple Flutter app that shows 'Hello World' on the screen.
Think about how Flutter apps start and how widgets build the UI.
You got /5 concepts.
    Describe the role of the MaterialApp widget in a Flutter app and why it is important for beginners.
    MaterialApp is like the app's foundation for look and feel.
    You got /4 concepts.