What is Flutter and how does it differ from other cross-platform frameworks?
Flutter is Google's open-source UI toolkit that compiles to native ARM code and draws every pixel itself us...
216 questions across 15 categories. Study, filter, and track your progress.
Showing all 216 questions
Flutter is Google's open-source UI toolkit that compiles to native ARM code and draws every pixel itself us...
StatelessWidget is immutable and rebuilds only when its parent provides new configuration; StatefulWidget o...
Hot Reload injects updated Dart code into the running VM and calls build() again without resetting state; H...
Debug uses JIT for fast iteration with hot reload; Profile mirrors release performance with profiling tools...
MaterialApp uses Google Material Design widgets; CupertinoApp uses Apple-style iOS widgets; WidgetsApp is t...
A Flutter package is pure Dart code; a plugin is a package that also contains native platform code (Kotlin/...
Scaffold provides the basic Material Design visual layout structure (AppBar, body, FAB, Drawer, BottomNavig...
pubspec.yaml is the Flutter/Dart project manifest defining package name, version, dependencies (pub.dev pac...
main() is the Dart entry point; runApp() inflates the given widget as the root of the widget tree, initiali...
flutter run starts the app in debug mode on a connected device/emulator; flutter build compiles the app for...
The cascade operator (..) allows chaining multiple operations on the same object without repeating the vari...
var uses type inference (becomes the inferred type); dynamic opts out of type checking entirely; Object is ...
Positional parameters are passed by position; named parameters are passed by name (in braces); required key...
The fat arrow => is syntactic sugar for a single-expression function body: int add(int a, int b) => a + b; ...
Dart uses $variable or ${expression} for string interpolation, triple quotes for multiline strings (''' or ...
StatelessWidget renders based solely on its constructor arguments and never changes. StatefulWidget maintai...
Use InkWell for Material Design ripple feedback on tappable widgets. Use GestureDetector for custom gesture...
State is any data that can change over time and affects the UI. Flutter categorizes it as ephemeral state (...
Named routes map string paths to widget builders in MaterialApp.routes. They reduce duplication in large ap...
Dialogs interrupt the user with important decisions or alerts. Bottom sheets show contextual actions or add...