๐ Flutter ยท flashcards
Flutter Flutter Flashcards
57 question-and-answer cards covering Flutter as it is examined in Flutter. 24 of them are printed below, taken from across the deck โ no signup, no paywall on the preview.
24 sample cards from the Flutter deck
Sampled from the end of the deck, so these are different cards from the ones shown on the syllabus page.
Which widget is the primary tool for imperative navigation between screens in Flutter?
The $\texttt{Navigator}$ widget, which manages a stack of Route objects.
How do you navigate to a new screen and how do you return from it?
Use $\texttt{Navigator.push()}$ to add a route to the stack and $\texttt{Navigator.pop()}$ to remove the top route and return to the previous screen.
What is the difference between imperative and declarative navigation in Flutter?
Imperative navigation uses push/pop calls on the Navigator; declarative navigation (Navigator 2.0 / Router API, e.g. go_router) derives the whole route stack from app state.
How do you define and use named routes in Flutter?
Register a map in MaterialApp's $\texttt{routes:}$ property and navigate with $\texttt{Navigator.pushNamed(context, '/details')}$.
How do you pass data back to a previous screen when popping a route?
Pass a value to $\texttt{Navigator.pop(context, result)}$; the awaited Future returned by the original push completes with that result.
Which widget groups form fields and manages their validation collectively?
The $\texttt{Form}$ widget, coordinated via a $\texttt{GlobalKey<FormState>}$.
How do you trigger validation of all fields in a Form?
Call $\texttt{formKey.currentState!.validate()}$, which runs each field's validator and returns true only if all pass.
What is the purpose of a TextEditingController?
It reads and controls the current text of a TextField, allows programmatic changes, and notifies listeners as the user types.
What does a TextFormField's validator function return to indicate valid input?
It returns $\texttt{null}$ for valid input, or a String error message to display when input is invalid.
Which package is commonly used to make HTTP requests in Flutter?
The $\texttt{http}$ package (with Dio as a popular feature-rich alternative).
How does Dart handle asynchronous operations like network calls?
With Futures and the async/await keywords; an async function returns a Future and await pauses execution until the Future completes.
Which widget rebuilds its UI based on the latest snapshot of a Future or Stream?
$\texttt{FutureBuilder}$ (for a Future) and $\texttt{StreamBuilder}$ (for a Stream).
How do you convert a JSON string into Dart objects?
Use $\texttt{jsonDecode()}$ from dart:convert to get a Map, then map it to a model (often via a fromJson factory constructor).
Which lightweight package stores simple key-value data persistently on the device?
$\texttt{shared\_preferences}$, ideal for small primitives like settings and flags.
Name two options for structured local database storage in Flutter.
SQLite (via the $\texttt{sqflite}$ package) and NoSQL stores like Hive or Isar.
Which widget drives an animation by continuously producing values between two bounds?
An $\texttt{AnimationController}$, typically paired with a Tween and a vsync TickerProvider.
What is the role of a Tween in Flutter animations?
A Tween defines the start and end values of a property and interpolates ('in-betweens') the intermediate values as the animation progresses from 0.0 to 1.0.
How do you build a fully custom widget in Flutter?
By composing existing widgets in a StatelessWidget/StatefulWidget subclass, or for full control over layout and painting, by using CustomPainter or subclassing RenderObject.
Which optimizations improve Flutter app performance and reduce unnecessary rebuilds?
Use const constructors, keep build methods small, use ListView.builder for long lists, add RepaintBoundary to isolate repaints, and avoid rebuilding expensive subtrees.
What are the three main levels of testing in Flutter?
Unit tests (individual functions/classes), Widget tests (a single widget in isolation), and Integration tests (the full app end-to-end).
Which command builds a release Android App Bundle for the Play Store?
$\texttt{flutter build appbundle}$ (use $\texttt{flutter build ios}$ for iOS release builds).
Where are third-party Flutter packages and plugins declared, and where are they published?
They are declared under $\texttt{dependencies:}$ in the pubspec.yaml file and published on pub.dev.
What is the difference between a Flutter 'package' and a 'plugin'?
A package contains pure Dart code; a plugin additionally includes platform-specific native code (via platform channels) to access device APIs like the camera or GPS.
What are the main rendering strategies available for Flutter web?
The HTML/CanvasKit renderers historically, with newer builds using CanvasKit (Skia via WebAssembly) or the Skwasm/Impeller path for consistent, high-fidelity rendering in the browser.
What this deck covers
The Flutter deck follows the Flutter Flutter syllabus โ 6 chapters and 26 topics โ so questions land on material that is genuinely examinable rather than trivia around it. That works out to roughly 9.5 cards per chapter.
Answers are written to be recallable, not just readable โ averaging about 122 characters, which is long enough to carry the reasoning and short enough to say out loud.
A deck like this earns its keep on the second and third pass. Read the syllabus first so you know the shape of the subject, then use the cards to find the specific facts that have not stuck.
Flutter flashcards FAQ
How many Flutter flashcards are in this Flutter deck?
57 cards. This page previews 24 of them, sampled evenly across the deck so you can judge the difficulty before installing anything.
Are these Flutter flashcards free?
Yes. The preview here is free to read with no signup, and the full 57-card deck is free inside the Examius app.
What do the Flutter cards cover?
They follow the Flutter Flutter syllabus โ 6 chapters and 26 topics โ so the questions track what is actually examinable.
How should I use these flashcards?
Read the syllabus first so you know the shape of the subject, then drill the deck. Examius schedules each card with spaced repetition, so cards you keep missing come back sooner and ones you know drift further apart.