Results for “BuildContext”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Guides
- Animate a widget across screensdoc
import 'package:flutter/material.dart'; class MainScreen extends StatelessWidget { const MainScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Main Screen')), body: GestureDetector( onTap
- Staggered animationsdoc
How to write a staggered animation in Flutter. A staggered animation consists
- Retrieve the value of a text fielddoc
controller when the widget is disposed. myController.dispose(); super.dispose(); } @override Widget build(BuildContext context) { // Fill this out in the next step. } } 3. Display the current value
- Layoutdoc
Learn about common layout widgets in Flutter. Learn how to build layouts
- Navigation and routingdoc
navigate to a new screen, access the Navigator through the route's BuildContext and call imperative methods such as push() or pop() : Because Navigator keeps a stack