Flutter Interview Questions: Beginner to Advanced
🟢 Beginner
- What is the difference between Stateless and Stateful Widgets?
- What is the difference between
finalandconst? - What is the difference between runtime constant and compile-time constant?
- What does
main()do vsrunApp()? - What is
contextin Flutter? - What are null-aware operators in Dart?
- What is
assert()and when is it active? - What is
async/awaitand how does asynchronous programming work in Dart? - What is the difference between a
Futureand aStream? - What is the difference between
EQUAL (=)andLIKEin a SQL query? - What are the different build modes in Flutter (Debug / Profile / Release)?
- What does
flutter run --verbosedo? - What are Class Constructors in Dart? What types exist?
- What is a
typedefin Dart? - What is the difference between
ExpandedandFlexible?
🟡 Intermediate
- What is the
latekeyword and when should you use it? - What are extension methods and when would you use them?
- What are mixins and when should you use them?
- What are Keys in Flutter? (ValueKey, ObjectKey, UniqueKey, GlobalKey)
- What is
InheritedWidgetand how does it work? - What is
setState()and how does it relate tomarkNeedsBuild()? - What is the Widget lifecycle in a StatefulWidget?
- What are the three trees in Flutter? (Widget → Element → Render)
- What is the difference between Slivers and regular Widgets?
- What are Intrinsic Widgets and when should you use them?
- What is a Singleton and why would you use one?
- What is Dependency Injection (DI) and why is it useful?
- What is the difference between abstract, interface, and sealed classes? When do you use each?
- What is the difference between Bloc, Provider, and Riverpod?
- What are Freezed and Equatable packages? What is value vs reference equality?
- What is Tree Shaking and why does it matter?
- Why split-per-ABI when building an Android APK?
- What is MVVM vs MVC architecture?
- What are SOLID principles and how do they apply to Flutter?
- Functional vs class-based Widgets — which is recommended and why?
For full article visit on: https://www.roshankunwar.com.np/posts/preparing-flutter-interview-guide
Top comments (0)