1/99
Flashcards reviewing key concepts related to Flutter app development, Firebase integration, SQLite usage, and API interactions.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What language is used to write Flutter apps?
Dart
What is a widget in Flutter?
A building block of the UI
Which method is the entry point of a Flutter app?
main()
What is the purpose of setState() in Flutter?
Notify the framework to rebuild the UI
Which widget is used to create a scrollable list in Flutter?
ListView
What is the use of pubspec.yaml in a Flutter project?
Managing dependencies
When is StatelessWidget used?
When the UI does not change
What is hot reload in Flutter?
Quickly injecting updated code
What is the parent of all Flutter widgets?
Widget
Which layout widget arranges children vertically?
Column
How do you navigate between screens in Flutter?
Navigator.push()
Which package is used for state management in Flutter?
provider
What is the use of FutureBuilder?
Asynchronous data handling
What does the MaterialApp widget do?
Sets up the base of a Material Design app
Which keyword is used to define a class in Dart?
class
Dart is:
Compiled
Which widget displays one child at a time from a list?
PageView
The initState() method is called:
Before build
What is the purpose of async and await in Dart?
Handling asynchronous code
Which Flutter command is used to create a new app?
flutter create
Flutter uses what rendering engine?
Skia
How to add an image from assets in Flutter?
Image.asset()
What widget provides a structure with AppBar, body, etc.?
Scaffold
Dart supports:
OOP and functional
What is BuildContext in Flutter?
Handle to location in widget tree
Firebase is a:
Backend-as-a-Service (BaaS)
Which Firebase service is used for real-time data?
Firebase Realtime Database
Firebase Authentication allows login via:
Multiple providers
Which Firebase service is used for push notifications?
Firebase Cloud Messaging (FCM)
Firestore is a:
NoSQL document database
Firebase Hosting is used for:
Hosting web apps
How to integrate Firebase with Flutter?
Add dependencies in pubspec.yaml and initialize Firebase
Firebase supports which platforms?
All of the above
What is the first step in using Firebase in Flutter?
Add Firebase to the project
What is Firebase's NoSQL alternative to Realtime Database?
Cloud Firestore
Firebase Functions are written in:
JavaScript/TypeScript
Firebase Analytics tracks:
User behavior and events
Firebase Storage is used to store:
Files like images and videos
How to send email verification in Firebase Auth?
user.sendEmailVerification()
Firebase Realtime Database stores data in:
JSON format
How are Firebase rules defined?
JSON-based security rules
Which Firebase feature helps with app performance tracking?
Performance Monitoring
Firebase Authentication SDK provides:
Login, registration, password reset
Can Firebase Firestore work offline?
Yes
What Firebase tool is used for testing push notifications?
Firebase Console
SQLite is a:
Local database engine
Which Flutter package is commonly used with SQLite?
sqflite
How does SQLite store data?
Tables and rows
SQLite is:
Embedded
SQLite supports which query language?
SQL
What function opens a database in sqflite?
openDatabase()
How to insert data using sqflite?
db.insert()
What is a primary key in SQLite?
Unique identifier
SQLite is best used for:
Local offline storage
Which file extension is used for SQLite DB files?
.db
Can you define foreign keys in SQLite?
Yes
To execute raw SQL in sqflite, you use:
db.rawQuery()
What data types does SQLite support?
INTEGER, TEXT, REAL, BLOB, NULL
Is SQLite open-source?
Yes
Which method updates data in SQLite?
db.update()
What does API stand for?
Application Programming Interface
REST API uses which protocol?
HTTP/HTTPS
Which HTTP method is used to retrieve data?
GET
What does the HTTP status code 200 mean?
OK
Which package is commonly used in Flutter for API calls?
http
What is JSON?
Data interchange format
What is the typical format of a REST API response?
JSON
What is an API endpoint?
URL to access resources
What is the purpose of headers in API requests?
Provide metadata
Which HTTP method is used to create new data?
POST
What status code indicates "Not Found"?
404
Which tool is used to test APIs manually?
Postman
What does PUT do in an API?
Replaces existing data
What is the role of async in API calls?
Handles asynchronous operations
What is the use of await in Dart?
Waits for async response
What does the 500 HTTP status code represent?
Server error
APIs can return:
JSON, XML, or plain text
An API key is used for:
Authentication and access control
OAuth is used in APIs for:
Authorization
What is the correct content-type header for sending JSON?
application/json
What is the primary platform Flutter apps can target?
Android, iOS, Web, Desktop
What is cross-platform development?
Building apps for multiple OSes using one codebase
Which file contains Android-specific configuration in Flutter?
AndroidManifest.xml
Which file defines iOS permissions in Flutter apps?
Info.plist
What’s a common IDE for Flutter?
Android Studio / VS Code
Which Flutter command runs your app on a device?
flutter run
What is the use of emulator in mobile development?
Testing apps without real device
How do you debug apps in Flutter?
Use flutter debug tools or IDE debuggers
Which tool lets you view Flutter widget trees?
Flutter DevTools
What’s the purpose of adaptive design in mobile apps?
Works across devices with different screen sizes
What's the recommended way to persist small user settings?
SharedPreferences
What does APK stand for?
Android Package
What does iOS use instead of APK?
IPA (iOS App Store Package)
What’s used to sign Android apps for release?
Keystore file
What is a splash screen?
Intro screen when app launches
How do you handle responsiveness in Flutter?
MediaQuery and LayoutBuilder
What is CI/CD in mobile development?
Continuous Integration/Continuous Deployment
What’s the use of the build.gradle file in Android?
Manage build settings and dependencies
What's the purpose of the Android res folder?
Store resources like images, strings, layouts
Which command is used to build a release version of your app in Flutter?
flutter build apk --release