Results for “Scaffold”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
Guides
- Layoutdoc
layout widgets in Flutter. Learn how to build layouts with common widgets like Scaffold, AppBar, Column, and Row. Introduction Given that Flutter is a UI toolkit
- SafeArea & MediaQuerydoc
sides are enabled. It's generally recommended to wrap the body of a Scaffold widget in SafeArea as a good place to start
- Understanding constraintsdoc
Flutter's model for widget constraints, sizing, positioning, and how they interact
- Layouts in Flutterdoc
Learn how Flutter's layout mechanism works and how to build your
- Animate a widget across screensdoc
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: () { Navigator.push( context, MaterialPageRoute
- DevToolsdoc
Learn to use the Dart DevTools when developing Flutter apps. Learn to
API reference
- Scaffoldclass
Implements the basic Material Design visual layout structure. material.Scaffold Scaffold Scaffold class material
- ScaffoldStateclass
State for a Scaffold. material.ScaffoldState ScaffoldState Scaffold State class material
- ScaffoldMessengerStateclass
State for a ScaffoldMessenger. material.ScaffoldMessengerState ScaffoldMessengerState Scaffold Messenger State class material
- ScaffoldMessengerclass
Manages SnackBars and MaterialBanners for descendant Scaffolds. material.ScaffoldMessenger ScaffoldMessenger Scaffold Messenger class material
- ScaffoldFeatureControllerclass
interface for controlling a feature of a Scaffold. material.ScaffoldFeatureController ScaffoldFeatureController Scaffold Feature Controller class material
- ScaffoldGeometryclass
Geometry information for Scaffold components after layout is finished. material.ScaffoldGeometry ScaffoldGeometry Scaffold Geometry class material
- ScaffoldPrelayoutGeometryclass
after all its contents have been laid out except the FloatingActionButton. material.ScaffoldPrelayoutGeometry ScaffoldPrelayoutGeometry Scaffold Prelayout Geometry class material
- ScaffoldGeometry.newconstructor
Create an object that describes the geometry of a Scaffold. material.ScaffoldGeometry.ScaffoldGeometry.new ScaffoldGeometry new Scaffold Geometry.new constructor material
- Scaffold.newconstructor
Creates a visual scaffold for Material Design widgets. material.Scaffold.Scaffold.new Scaffold new Scaffold.new constructor material
- ScaffoldMessenger.newconstructor
Creates a widget that manages SnackBars for Scaffold descendants. material.ScaffoldMessenger.ScaffoldMessenger.new ScaffoldMessenger new Scaffold Messenger.new constructor material
- ScaffoldState.newconstructor
material.ScaffoldState.ScaffoldState.new ScaffoldState new Scaffold State.new constructor material
- ScaffoldMessengerState.newconstructor
material.ScaffoldMessengerState.ScaffoldMessengerState.new ScaffoldMessengerState new Scaffold Messenger State.new constructor material
- ScaffoldPrelayoutGeometry.newconstructor
provide const constructors so that they can be used in const expressions. material.ScaffoldPrelayoutGeometry.ScaffoldPrelayoutGeometry.new ScaffoldPrelayoutGeometry new Scaffold Prelayout Geometry.new constructor material
- FloatingActionButtonLocationclass
that defines a position for the FloatingActionButton based on the Scaffold's ScaffoldPrelayoutGeometry. material.FloatingActionButtonLocation FloatingActionButtonLocation Floating Action Button Location class material
- CupertinoPageScaffoldBackgroundColorclass
InheritedWidget indicating what the current scaffold background color is for its children. cupertino.CupertinoPageScaffoldBackgroundColor CupertinoPageScaffoldBackgroundColor Cupertino Page Scaffold Background Color class cupertino
- BottomNavigationBar.newconstructor
bottom navigation bar which is typically used as a Scaffold's Scaffold.bottomNavigationBar argument. material.BottomNavigationBar.BottomNavigationBar.new BottomNavigationBar new Bottom Navigation Bar.new constructor material
- material.SnackBarBehaviorenum
Defines where a SnackBar should appear within a Scaffold and how its location should be adjusted when the scaffold also includes a FloatingActionButton or a BottomNavigationBar
- material.showBottomSheetfunction
nearest Scaffold ancestor. To show a persistent bottom sheet, use the Scaffold.bottomSheet. material.showBottomSheet showBottomSheet show Bottom Sheet function material
- BottomAppBarclass
container that is typically used with Scaffold.bottomNavigationBar. material.BottomAppBar BottomAppBar Bottom App Bar class material
- PersistentBottomSheetControllerclass
ScaffoldFeatureController for standard bottom sheets. material.PersistentBottomSheetController PersistentBottomSheetController Persistent Bottom Sheet Controller class material
- material.debugCheckHasScaffoldfunction
Asserts that the given context has a Scaffold ancestor. material.debugCheckHasScaffold debugCheckHasScaffold debug Check Has Scaffold function material
- material.debugCheckHasScaffoldMessengerfunction
Asserts that the given context has a ScaffoldMessenger ancestor. material.debugCheckHasScaffoldMessenger debugCheckHasScaffoldMessenger debug Check Has Scaffold Messenger function material
- Drawerclass
Material Design panel that slides in horizontally from the edge of a Scaffold to show navigation links in an application. material.Drawer Drawer Drawer class material
- CupertinoPageScaffoldclass
Implements a single iOS application page's layout. cupertino.CupertinoPageScaffold CupertinoPageScaffold Cupertino Page Scaffold class cupertino
- CupertinoTabScaffoldclass
tabbed iOS application's root layout and behavior structure. cupertino.CupertinoTabScaffold CupertinoTabScaffold Cupertino Tab Scaffold class cupertino
- CupertinoPageScaffoldBackgroundColor.newconstructor
Constructs a new CupertinoPageScaffoldBackgroundColor. cupertino.CupertinoPageScaffoldBackgroundColor.CupertinoPageScaffoldBackgroundColor.new CupertinoPageScaffoldBackgroundColor new Cupertino Page Scaffold Background Color.new constructor cupertino
- CupertinoPageScaffold.newconstructor
pages with a navigation bar at the top. cupertino.CupertinoPageScaffold.CupertinoPageScaffold.new CupertinoPageScaffold new Cupertino Page Scaffold.new constructor cupertino
- CupertinoTabScaffold.newconstructor
applications with a tab bar at the bottom. cupertino.CupertinoTabScaffold.CupertinoTabScaffold.new CupertinoTabScaffold new Cupertino Tab Scaffold.new constructor cupertino
Version changes
- SnackBars managed by the ScaffoldMessenger2.0.0breaking
SnackBar` API within the `Scaffold` is now handled by the `ScaffoldMessenger`, one of which is available by default within the context of a `MaterialApp`. The previous approach
- - Flutter may show multiple snackbars when Scaffold is nested2.0.2bugfix
Flutter may show multiple snackbars when Scaffold is nested
- - ios: Visual glitch when scrolling a list in a Scaffold that has a Material and Container as bottomNavigationBar.2.10.3bugfix
Visual glitch when scrolling a list in a Scaffold that has a Material and Container as bottomNavigationBar
- Fix ScaffoldGeometry null scale with noAnimation FAB3.38.0bugfix
ScaffoldGeometry null scale with noAnimation FAB (Material, by @Mairramer). ScaffoldGeometry
- Fix `Scaffold` having status bar when primary is false3.41.0bugfix
Scaffold` having status bar when primary is false (Material, by @PurplePolyhedron). Scaffold
- Eliminate rebuilds for Scaffold FAB animation3.44.0improvement
Eliminate rebuilds for Scaffold FAB animation (Material, by @nate-thegrate
- [ Widget Preview ] Always generate scaffold under `$TMP`3.41.0tooling
Widget Preview ] Always generate scaffold under `$TMP` (Tooling, by @bkonyi
- Move widget_preview_scaffold into pub workspace3.47.0tooling
Move widget_preview_scaffold into pub workspace (Tooling, by @bkonyi
- Move widget_preview_scaffold into pub workspace3.47.0improvement
Move widget_preview_scaffold into pub workspace (Other changes, by @jmagman
- Inline test callback painter in tab scaffold test3.47.0improvement
Inline test callback painter in tab scaffold test (Framework, by @DaveT1991
- [ Tool ] Stop generating widget preview scaffold under $TMP3.47.0tooling
Tool ] Stop generating widget preview scaffold under $TMP (Tooling, by @bkonyi
- Tool: Add search and filtering to widget preview scaffold3.44.0tooling
Tool: Add search and filtering to widget preview scaffold (Tooling, by @NamanGoyalK
- Make sure that a Scaffold doesn't crash in 0x0 environment3.41.0bugfix
Make sure that a Scaffold doesn't crash in 0x0 environment (Material, by @ahmedsameha1
- [ Widget Preview ] Move widget_preview_scaffold tests to `dev/integration_tests/widget_preview_scaffold`3.44.0tooling
Widget Preview ] Move widget_preview_scaffold tests to `dev/integration_tests/widget_preview_scaffold` (Tooling, by @bkonyi
- [ Widget Preview ] Fix crash when `widget_preview_scaffold/.dart_tool` doesn't exist3.41.0tooling
Widget Preview ] Fix crash when `widget_preview_scaffold/.dart_tool` doesn't exist (Tooling, by @bkonyi
- [widget-preview] Copy host web directory to widget preview scaffold3.47.0tooling
widget-preview] Copy host web directory to widget preview scaffold (Tooling, by @bkonyi
- Eliminating nullOk Parameters2.0.0breaking
This migration guide describes conversion of code that uses the `nullOk` parameter
- Deprecated API removed after v2.103.0.0removed
OutlinedButton ButtonTheme TextButtonTheme ElevatedButtonTheme OutlinedButtonTheme ButtonStyle ButtonStyleButton ElevatedButtonThemeData OutlinedButtonThemeData TextButtonThemeData Scaffold SnackBar ScaffoldMessenger MaterialApp RectangularSliderTrackShape.disabledThumbGapWidth RectangularSliderTrackShape ThemeData TextSelectionThemeData RenderEditable.onSelectionChanged TextSelectionDelegate.textEditingValue TextSelectionDelegate.userUpdateTextEditingValue TextInputFormatter
- Deprecated API removed after v1.222.0.0removed
CupertinoDialog CupertinoAlertDialog CupertinoPopupSurface CupertinoNavigationBar.actionsForegroundColor CupertinoSliverNavigationBar.actionsForegroundColor CupertinoTheme CupertinoNavigationBar CupertinoSliverNavigationBar CupertinoThemeData CupertinoTextThemeData.brightness CupertinoTextThemeData PointerEnterEvent PointerExitEvent Scaffold.resizeToAvoidBottomPadding Scaffold ButtonTheme.bar ButtonTheme ButtonBarTheme ButtonBar TextButtonTheme ElevatedButtonTheme OutlinedButtonTheme TextButton ElevatedButton OutlinedButton InlineSpan TextSpan
- SnackBar with action no longer auto-dismisses3.38.0breaking
SnackBar with an action, set `persist` to `false`. Code before migration: ```dart ScaffoldMessenger.of(context).showSnackBar( SnackBar( content: const Text('This is a snackbar with an action.'), action: SnackBarAction
- Default PrimaryScrollController on Desktop3.3.0breaking
ListViews would throw errors from Scrollbars and // ScrollActions previously due to the PrimaryScrollController. Scaffold( body: LayoutBuilder( builder: (context, constraints) { return Row( children: [ SizedBox( height: constraints.maxHeight, width: constraints.maxWidth
- Semantics Order of the Overlay Entries in Modal Routes1.20.0breaking
We changed the semantics traverse order of the overlay entries in modal
- Dialogs' Default BorderRadius1.20.0breaking
class Foo extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( floatingActionButton: FloatingActionButton(onPressed: () { showDialog( context: context, builder: (BuildContext context) { return AlertDialog( content: Text('Alert