Online Exam Quiz

questionQuestion  1 to 30

Which widget is used to create a simple text in Flutter?

  • TextField
  • Text
  • Label
  • TextBox
Mark for review

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

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

  • ListView
  • Column
  • Row
  • Stack
Mark for review

Mark for review

What is the purpose of the ThemeData class in Flutter?

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

What does the Navigator.pop method do in Flutter?

  • Navigate to the previous screen
  • Close the app
  • Open a new screen
  • Refresh the current screen
Mark for review

How do you navigate to a new screen in Flutter?

  • Navigator.push
  • Navigator.goTo
  • Navigator.moveTo
  • Navigator.open
Mark for review

How do you add padding to a widget in Flutter?

  • Using the Padding widget
  • Using the Container widget
  • Using the PaddingContainer
  • Using the Pad widget
Mark for review

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

  • DropDownList
  • DropDown
  • DropDownMenu
  • DropdownButton
Mark for review

Which widget is used to create a checkbox in Flutter?

  • CheckBox
  • Check
  • CheckBoxButton
  • CheckButton
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

Mark for review

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

  • ProgressIndicator
  • LinearProgress
  • CircularProgressIndicator
  • ProgressBar
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 define a constant in Dart?

  • final keyword
  • const keyword
  • static keyword
  • var keyword
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

Who developed Flutter?

  • Microsoft
  • Google
  • Facebook
  • Apple
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 tabbed interface in Flutter?

  • Tabs
  • TabView
  • TabBar
  • TabContainer
Mark for review

Which widget is used to create a button in Flutter?

  • Text
  • Container
  • ElevatedButton
  • GestureDetector
Mark for review

How do you handle gestures in Flutter?

  • Using the GestureDetector widget
  • Using the GestureHandler
  • Using the GestureListener
  • Using the GestureController
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

How do you listen to changes in a text field in Flutter?

  • Using the onChanged property
  • Using the onInput property
  • Using the onChange property
  • Using the onUpdate property
Mark for review

What is the primary function of the MaterialApp widget in Flutter?

  • To provide material design styling
  • To handle user input
  • To manage state
  • To create animations
Mark for review

What is the purpose of the SafeArea widget in Flutter?

  • To add padding
  • To avoid system UI intrusions
  • To manage state
  • To handle user input
Mark for review

How do you handle user input in Flutter?

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

What is a StatefulWidget?

  • A widget that has a mutable state
  • A widget that is immutable
  • A widget without state
  • A widget with only one state
Mark for review

How do you define a function in Dart?

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

Which widget is used to display an icon in Flutter?

  • IconWidget
  • Icon
  • ImageIcon
  • IconDisplay
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