2023-10-30
Restoring state in a Flutter app
How to restore values and the current screen when the operating system interrupts and restarts an app’s process.
Read articleFlutter & Dart
How do you restore a screen, validate a form or share data between widgets? Each tutorial starts with a development problem and uses the Flutter version available when it was written.
2023-10-30
How to restore values and the current screen when the operating system interrupts and restarts an app’s process.
Read article
2023-10-16
A Completer lets code finish a Future when a separate event or callback delivers the result. The tutorial works through several examples.
Read article
2020-06-03
Ways to pass an action or update between Flutter widgets that each manage their own state.
Read article
2020-05-18
How local text styles and a Material theme work together to set the typography of a Flutter interface.
Read article
2020-05-10
A Bootstrap-inspired approach to arranging widgets as the available screen width changes.
Read article
2020-02-19
A page opens from inside the app but returns a 404 from the address bar. The article explains how routing and server configuration affect the result.
Read article
2020-01-16
How to combine validation results from several fields so the form can be submitted when the input is valid.
Read article
2019-09-30
Follow widgets, elements, BuildContext and render objects through the process of building a Flutter interface.
Read article
2019-05-26
How to check whether a widget inside a scrollable container is within the visible part of the screen.
Read article
2019-04-08
A BLoC that is available on one screen can be out of reach on the next. Follow the new route’s context and compare ways to share the BLoC.
Read article
2019-04-06
An authentication example compares three ways to share and update the state of a Flutter app.
Read article
2019-04-04
How to open a dialog after a page first appears and avoid opening it again each time the widget rebuilds.
Read article
2019-02-11
Three approaches to displaying actions above a list item in Flutter, from PopupRoute to Overlay.
Read article
2019-01-20
What does Dart do while an operation waits for a result? Follow the order of execution and see when an isolate is useful.
Read article
2018-12-01
Examples of reactive programming that connect events, business logic and the interface in a Flutter app.
Read article
2018-11-03
How to build the board, recognise matches and sequence the animations in a Flutter match-three game.
Read article
2018-08-20
An introduction to reactive programming in Dart, from emitting an event to updating a Flutter interface.
Read article
2018-07-24
How Flutter describes interface elements to accessibility tools and what information the semantics tree carries.
Read article
2018-06-26
How to place a temporary notification above a Flutter screen and remove it when the message has been shown.
Read article
2018-06-03
Follow state and data through the widget tree to understand what a build context refers to.
Read article
2018-05-09
A radio button changes value but the dialog still shows the previous choice. See which state needs updating.
Read article