Flutter

Flutter

Flutter is Google’s open-source UI software development kit (SDK) used to build natively compiled, visually stunning applications for mobile (iOS, Android), web, desktop, and embedded devices from a single codebase.


  1. Who developed the Flutter framework?

    • Facebook
    • Microsoft
    • Google
    • Oracle
  2. Which programming language is used to write Flutter apps?

    • Kotlin
    • Dart
    • Java
    • Swift
  3. What is the main building block of a Flutter UI?

    • Component
    • Widget
    • Element
    • Module
  4. Which command is used to check for Flutter setup issues?

    • flutter check
    • flutter status
    • flutter doctor
    • flutter inspect
  5. Which widget is used to create a basic layout structure with an AppBar?

    • Container
    • Scaffold
    • Column
    • Stack
  6. Which class is used to represent a value that will be available in the future?

    • Stream
    • Future
    • Delay
    • Task
  7. Which keyword is used to wait for a Future to complete?

    • sync
    • wait
    • await
    • hold
  8. What is the purpose of the "initState()" method?

    • Called when widget is destroyed
    • Called once when widget is created
    • Called every time UI rebuilds
    • Called on button click
  9. Which package is commonly used for making HTTP requests?

    • dio
    • http
    • requests
    • fetch
  10. What is the purpose of "jsonDecode()"?

    • Convert Map to String
    • Convert String to JSON Map
    • Download JSON data
    • Delete JSON data
  11. What does BLoC stand for?

    • Basic Library of Components
    • Business Logic Component
    • Binary Logic Controller
    • Build Loop Component
  12. What are "Platform Channels" used for?

    • Cross-platform styling
    • Communicating with native code
    • Publishing to app stores
    • Managing user sessions
  13. Which class allows for custom drawing on a canvas?

    • CanvasPainter
    • CustomPainter
    • DrawWidget
    • GraphicsMaster
  14. What is the role of an "AnimationController"?

    • To define the widget shape
    • To manage animation duration and state
    • To download animation files
    • To handle user input
  15. In Clean Architecture, where should business logic reside?

    • UI Layer
    • Data Layer
    • Domain Layer
    • External Layer