Online Exam Quiz

questionQuestion  1 to 30

Mark for review

Which widget is used to create a radio button in Flutter?

  • Radio
  • RadioButton
  • RadioOption
  • RadioChoice
Mark for review

What is the purpose of the dispose() method in a StatefulWidget?

  • Initialize the state
  • Clean up resources
  • Update the state
  • Build the widget tree
Mark for review

How do you handle user input in Flutter?

  • Using event listeners
  • Using controllers
  • Using state
  • Using callbacks
Mark for review

Which widget is used to create a scrollable list in Flutter?

  • ListView
  • Column
  • Row
  • Stack
Mark for review

What is the purpose of the initState() method in a StatefulWidget?

  • Build the widget tree
  • Initialize the state
  • Dispose of resources
  • Handle user inputs
Mark for review

Which widget is used to create a tabbed interface in Flutter?

  • Tabs
  • TabView
  • TabBar
  • TabContainer
Mark for review

What is Flutter?

  • A web development framework
  • A database management system
  • An open-source UI toolkit
  • A programming language
Mark for review

Mark for review

What is a Flutter plugin?

  • A package for adding new languages
  • A package for adding new widgets
  • A package for adding platform-specific functionalities
  • A package for adding styles
Mark for review

How do you define a function in Dart?

  • function name() {}
  • func name() {}
  • void name() {}
  • def name() {}
Mark for review

What is the purpose of the main.dart file in a Flutter project?

  • To define the app's UI
  • To define the app's entry point
  • To define the app's routes
  • To define the app's theme
Mark for review

How do you define a list in Dart?

  • List<int> list = [];
  • var list = List<int>();
  • int[] list = {};
  • int list[] = new int[];
Mark for review

Who developed Flutter?

  • Microsoft
  • Google
  • Facebook
  • Apple
Mark for review

What is hot reload in Flutter?

  • Restarting the app
  • Refreshing the UI
  • Recompiling the code
  • Rebuilding the widget tree
Mark for review

What does the Scaffold widget do?

  • Displays text
  • Creates a button
  • Implements basic material design layout structure
  • Provides app routing
Mark for review

How do you define a class in Dart?

  • class ClassName {}
  • def ClassName {}
  • function ClassName {}
  • new ClassName {}
Mark for review

What does the await keyword do in Dart?

  • Pause the function
  • Stop the function
  • Wait for the future to complete
  • Run the function immediately
Mark for review

Which widget is used to display an icon in Flutter?

  • IconWidget
  • Icon
  • ImageIcon
  • IconDisplay
Mark for review

What is the use of the setState() method in a StatefulWidget?

  • Update the state
  • Initialize the state
  • Build the widget tree
  • Dispose of resources
Mark for review

Which widget is used to create a floating action button in Flutter?

  • FloatingButton
  • FloatingActionButton
  • FloatingAction
  • ActionButton
Mark for review

Mark for review

How do you create a grid layout in Flutter?

  • Using the GridView
  • Using the Column and Row
  • Using the Grid widget
  • Using the GridLayout
Mark for review

How do you create a switch in Flutter?

  • Using the Switch widget
  • Using the Toggle widget
  • Using the SwitchButton widget
  • Using the SwitchControl widget
Mark for review

How do you create an animation in Flutter?

  • Using the AnimationController
  • Using the AnimationBuilder
  • Using the AnimationWidget
  • Using the AnimationContainer
Mark for review

What is the primary language used to write Flutter apps?

  • Dart
  • Kotlin
  • Swift
  • JavaScript
Mark for review

Which widget is used to create a progress indicator in Flutter?

  • ProgressIndicator
  • LinearProgress
  • CircularProgressIndicator
  • ProgressBar
Mark for review

Which widget is used to create an image in Flutter?

  • Picture
  • Image
  • Photo
  • Img
Mark for review

How do you display a snackbar in Flutter?

  • Scaffold.of(context).showSnackbar
  • ScaffoldMessenger.of(context).showSnackbar
  • ScaffoldState.showSnackbar
  • Scaffold.showSnackbar
Mark for review

Which programming language is used by Flutter?

  • Java
  • Dart
  • JavaScript
  • Swift
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review