Flutter Fundamentals Flutter Interview Questions
4 questions
Advertisement
BeginnerFlutter Fundamentals
What is the difference between StatelessWidget and StatefulWidget?
A StatelessWidget is immutable and rebuilds only when its parent rebuilds; a StatefulWidget holds mutable state via a separate State object and can rebuild itself whenever that state changes.
BeginnerFlutter Fundamentals
What is Flutter?
Flutter is Google's open-source UI toolkit for building natively compiled apps for mobile, web, and desktop from a single Dart codebase.
IntermediateFlutter Fundamentals
Explain the widget lifecycle in Flutter.
A StatefulWidget's State goes through createState → initState → didChangeDependencies → build (repeated) → didUpdateWidget (on parent rebuild) → deactivate → dispose.
IntermediateFlutter Fundamentals
Describe Flutter's architecture — how does a widget end up as pixels on screen?
Flutter has three parallel trees Widget, Element, and RenderObject where widgets are immutable configuration, elements are the mutable instances that manage the tree, and render objects handle layout, painting, and hit-testing.
Advertisement