Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Cookbook

Choose a recipe by the behavior you want to add.

TaskRecipe
Validate editable text and show an errorForms
Load data and display loading, error, and retry statesAsync
Share colors and styling through the view treeThemes
Animate a value over timeAnimation
Exercise a view without opening a windowTesting

For typed navigation, root an app in MaterialApp::router (or WidgetsApp::router) over a #[derive(Routable)] route enum; its pages push and pop route values through a RouterHandle (ADR-0330; see the mapping notes).