0
0
Fluttermobile~5 mins

Flutter project structure - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main entry point file in a Flutter project?
The main entry point file is lib/main.dart. It contains the main() function which starts the app.
Click to reveal answer
beginner
What is the purpose of the pubspec.yaml file in Flutter?
It manages the app's dependencies, assets, and metadata like app name and version.
Click to reveal answer
intermediate
What folder contains the platform-specific code in a Flutter project?
The android folder contains Android code, and the ios folder contains iOS code.
Click to reveal answer
beginner
Where do you put images and fonts in a Flutter project?
You put them in an assets folder, usually inside the project root, and declare them in pubspec.yaml.
Click to reveal answer
intermediate
What is the role of the test folder in a Flutter project?
It contains test files to check your app’s code works correctly before releasing.
Click to reveal answer
Which file starts the Flutter app?
Alib/main.dart
Bpubspec.yaml
Candroid/app/build.gradle
Dios/Runner.xcodeproj
Where do you declare app dependencies in Flutter?
Alib/dependencies.dart
Bpubspec.yaml
Candroid/build.gradle
Dios/Podfile
Which folder contains platform-specific Android code?
Aandroid/
Bios/
Clib/
Dassets/
Where should you put image files for your Flutter app?
Alib/images/
Bios/Assets.xcassets/
Cassets/
Dandroid/res/
What is the purpose of the test/ folder?
AStore app source code
BStore app assets
CStore platform code
DStore test files
Describe the main folders and files in a Flutter project and their roles.
Think about where code, resources, and platform-specific parts live.
You got /5 concepts.
    Explain how Flutter manages app assets like images and fonts.
    Consider how you tell Flutter about files it needs to include.
    You got /3 concepts.