Flutter MCQ
Test your Flutter & Dart knowledge with 100 multiple choice questions covering widgets, state management, navigation, async patterns, animations, testing, and platform channels.
What is Flutter?
2Which programming language is used to write Flutter applications?
3What is the basic building block of a Flutter UI?
4What is the key difference between StatelessWidget and StatefulWidget?
5What does setState() do in a StatefulWidget?
6What is pubspec.yaml in a Flutter project?
7What widget is typically the root of a Flutter Material Design app?
8What does the Scaffold widget provide in Flutter?
9What is the difference between Hot Reload and Hot Restart in Flutter?
10What is BuildContext in Flutter?
11Which widget arranges its children in a vertical direction?
12Which widget arranges its children in a horizontal direction?
13What does the Container widget do in Flutter?
14How do you display text in Flutter?
15Which widget is used to add space/padding inside another widget's boundaries?
16What does the Center widget do in Flutter?
17What does the Expanded widget do inside a Row or Column?
18Which class is used to navigate between screens in Flutter?
19How do you navigate to a new screen in Flutter using the imperative API?
20What is a Future in Dart?
21What keyword pauses execution inside an async function until a Future completes?
22What widget provides a scrollable list of items in Flutter?
23Which widget detects touch gestures like tap, double tap, and long press?
24What is a FloatingActionButton (FAB) in Flutter?
25What does the AppBar widget display in Flutter?
26What widget displays a row of tabs at the bottom for navigation between views?
27What is a Drawer in Flutter?
28What widget is used to capture text input from the user?
29What is the purpose of the Form widget in Flutter?
30What does the Card widget provide in Flutter?
31What does the Stack widget do in Flutter?
32What is SizedBox primarily used for?
33Where is the entry point of a Flutter application?
34What does runApp() do in Flutter?
35What does the build() method return in a Flutter widget?
36What is the initState() lifecycle method used for in StatefulWidget?
37What is the dispose() lifecycle method used for in Flutter?
38What is the purpose of CrossAxisAlignment in a Column widget?
39Which widget is used to display a circular loading indicator?
40What does Image.network() do in Flutter?
41What is the Flexible widget and how does it differ from Expanded?
What is the Provider package used for in Flutter?
2What is InheritedWidget used for in Flutter?
3What does BLoC stand for in Flutter?
4What does FutureBuilder do in Flutter?
5What does StreamBuilder do in Flutter?
6What is a GlobalKey used for in Flutter?
7What information does MediaQuery provide in Flutter?
8What is ThemeData in Flutter?
9What is the purpose of AnimationController in Flutter?
10What is a Tween in Flutter animations?
11What is a Hero animation in Flutter?
12What is the main difference between ListView and ListView.builder?
13What is GridView.builder in Flutter?
14What is the shared_preferences package used for?
15What is a MethodChannel in Flutter?
16What is the difference between final and const in Dart?
17What is a mixin in Dart?
18What is SingleChildScrollView used for in Flutter?
19What does LayoutBuilder provide in Flutter?
20What is the Riverpod package in Flutter?
21What is an Isolate in Dart/Flutter?
22What is CustomPainter used for in Flutter?
23What is the Equatable package used for in Flutter?
24What is the key difference between InkWell and GestureDetector?
25What is the sqflite package in Flutter?
26What is Dart's null safety feature?
27What is a factory constructor in Dart?
28What is go_router in Flutter?
29What is Hive used for in Flutter?
30What is an AnimatedBuilder widget used for?
31What is a Dart extension method?
32What is the Dio package used for in Flutter?
33What is a Completer in Dart?
34What is the spread operator (...) used for in Dart?
35What is Navigator 2.0 (Router) in Flutter?
36What is a NotificationListener widget in Flutter?
37What is the TextEditingController used for in Flutter?
38What is the purpose of the WillPopScope widget in Flutter?
39What is a CustomScrollView in Flutter?
What are the three trees in Flutter's rendering pipeline?
2What is a RenderObject in Flutter?
3What are Slivers in Flutter?
4What is tree shaking in the context of a Flutter release build?
5What is the difference between JIT and AOT compilation in Dart?
6What is the compute() function in Flutter used for?
7What is RepaintBoundary in Flutter and why is it useful?
8What is the WidgetsBindingObserver mixin used for in Flutter?
9What is golden testing in Flutter?
10What is the difference between pumpWidget() and pump() in Flutter widget tests?
11What are Flutter's three rendering pipeline phases: Layout, Paint, Composite?
12How does Dart's event loop handle microtasks vs the event queue?
13What is an InheritedModel and how does it differ from InheritedWidget?
14How do you write a Flutter plugin that communicates with native platform code?
15What is the Flutter Engine and how does it relate to a Flutter app?
16What is shouldRepaint() in CustomPainter and what should it return?
17What is the add-to-app feature in Flutter?
18What is the Impeller rendering backend in Flutter?
19What does the @override annotation signify in Dart?
20What is the ChangeNotifier class used for in Flutter?