💙

Flutter MCQ

Test your Flutter & Dart knowledge with 100 multiple choice questions covering widgets, state management, navigation, async patterns, animations, testing, and platform channels.

100 Questions 41 Beginner 39 Intermediate 20 Advanced
1

What is Flutter?

2

Which programming language is used to write Flutter applications?

3

What is the basic building block of a Flutter UI?

4

What is the key difference between StatelessWidget and StatefulWidget?

5

What does setState() do in a StatefulWidget?

6

What is pubspec.yaml in a Flutter project?

7

What widget is typically the root of a Flutter Material Design app?

8

What does the Scaffold widget provide in Flutter?

9

What is the difference between Hot Reload and Hot Restart in Flutter?

10

What is BuildContext in Flutter?

11

Which widget arranges its children in a vertical direction?

12

Which widget arranges its children in a horizontal direction?

13

What does the Container widget do in Flutter?

14

How do you display text in Flutter?

15

Which widget is used to add space/padding inside another widget's boundaries?

16

What does the Center widget do in Flutter?

17

What does the Expanded widget do inside a Row or Column?

18

Which class is used to navigate between screens in Flutter?

19

How do you navigate to a new screen in Flutter using the imperative API?

20

What is a Future in Dart?

21

What keyword pauses execution inside an async function until a Future completes?

22

What widget provides a scrollable list of items in Flutter?

23

Which widget detects touch gestures like tap, double tap, and long press?

24

What is a FloatingActionButton (FAB) in Flutter?

25

What does the AppBar widget display in Flutter?

26

What widget displays a row of tabs at the bottom for navigation between views?

27

What is a Drawer in Flutter?

28

What widget is used to capture text input from the user?

29

What is the purpose of the Form widget in Flutter?

30

What does the Card widget provide in Flutter?

31

What does the Stack widget do in Flutter?

32

What is SizedBox primarily used for?

33

Where is the entry point of a Flutter application?

34

What does runApp() do in Flutter?

35

What does the build() method return in a Flutter widget?

36

What is the initState() lifecycle method used for in StatefulWidget?

37

What is the dispose() lifecycle method used for in Flutter?

38

What is the purpose of CrossAxisAlignment in a Column widget?

39

Which widget is used to display a circular loading indicator?

40

What does Image.network() do in Flutter?

41

What is the Flexible widget and how does it differ from Expanded?

1

What is the Provider package used for in Flutter?

2

What is InheritedWidget used for in Flutter?

3

What does BLoC stand for in Flutter?

4

What does FutureBuilder do in Flutter?

5

What does StreamBuilder do in Flutter?

6

What is a GlobalKey used for in Flutter?

7

What information does MediaQuery provide in Flutter?

8

What is ThemeData in Flutter?

9

What is the purpose of AnimationController in Flutter?

10

What is a Tween in Flutter animations?

11

What is a Hero animation in Flutter?

12

What is the main difference between ListView and ListView.builder?

13

What is GridView.builder in Flutter?

14

What is the shared_preferences package used for?

15

What is a MethodChannel in Flutter?

16

What is the difference between final and const in Dart?

17

What is a mixin in Dart?

18

What is SingleChildScrollView used for in Flutter?

19

What does LayoutBuilder provide in Flutter?

20

What is the Riverpod package in Flutter?

21

What is an Isolate in Dart/Flutter?

22

What is CustomPainter used for in Flutter?

23

What is the Equatable package used for in Flutter?

24

What is the key difference between InkWell and GestureDetector?

25

What is the sqflite package in Flutter?

26

What is Dart's null safety feature?

27

What is a factory constructor in Dart?

28

What is go_router in Flutter?

29

What is Hive used for in Flutter?

30

What is an AnimatedBuilder widget used for?

31

What is a Dart extension method?

32

What is the Dio package used for in Flutter?

33

What is a Completer in Dart?

34

What is the spread operator (...) used for in Dart?

35

What is Navigator 2.0 (Router) in Flutter?

36

What is a NotificationListener widget in Flutter?

37

What is the TextEditingController used for in Flutter?

38

What is the purpose of the WillPopScope widget in Flutter?

39

What is a CustomScrollView in Flutter?