Results for “Container”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
Guides
- Understanding constraintsdoc
Flutter's model for widget constraints, sizing, positioning, and how they interact
- Layouts in Flutterdoc
should look as you might expect, but you might be wondering about the containers (shown in pink). Container is a widget class that allows
- Create widgetsdoc
Learn to create custom widgets and use the most common SDK widgets like Container, Center, and Text. Before you start This app relies
- Animate the properties of a containerdoc
animate properties of a container using implicit animations. The Container class provides a convenient way to create a widget with specific properties: width, height, background color
- Guide to app architecturedoc
The recommended way to architect a Flutter app. The following pages demonstrate
- Layoutdoc
title to the left, which would be centered by default. The Text widget contains the title
- Flutter architectural overviewdoc
A high-level overview of the architecture of Flutter, including the core
API reference
- Containerclass
convenience widget that combines common painting, positioning, and sizing widgets. widgets.Container Container Container class widgets
- ContainerBoxParentDataclass
Abstract ParentData subclass for RenderBox subclasses that want the ContainerRenderObjectMixin. rendering.ContainerBoxParentData ContainerBoxParentData Container Box Parent Data class rendering
- ContainerLayerclass
composited layer that has a list of children. rendering.ContainerLayer ContainerLayer Container Layer class rendering
- ContainerLayer.newconstructor
rendering.ContainerLayer.ContainerLayer.new ContainerLayer new Container Layer.new constructor rendering
- ContainerBoxParentData.newconstructor
rendering.ContainerBoxParentData.ContainerBoxParentData.new ContainerBoxParentData new Container Box Parent Data.new constructor rendering
- Container.newconstructor
widget that combines common painting, positioning, and sizing widgets. widgets.Container.Container.new Container new Container.new constructor widgets
- RelativeRectclass
whose coordinates are given relative to another rectangle's edges, known as the container. Since the dimensions of the rectangle are relative to those of the container
- UnderlineInputBorderclass
Draws a horizontal line at the bottom of an InputDecorator's container and defines the container's shape. material.UnderlineInputBorder UnderlineInputBorder Underline Input Border class material
- CustomPainterSemanticsclass
Contains properties describing information drawn in a rectangle contained by the Canvas used by a CustomPaint. rendering.CustomPainterSemantics CustomPainterSemantics Custom Painter Semantics class rendering
- RenderSliverFillRemainingWithScrollableclass
sliver that contains a single box child that contains a scrollable and fills the viewport. rendering.RenderSliverFillRemainingWithScrollable RenderSliverFillRemainingWithScrollable Render Sliver Fill Remaining With Scrollable class rendering
- SelectionContainerclass
container that handles SelectionEvents for the Selectables in the subtree. widgets.SelectionContainer SelectionContainer Selection Container class widgets
- AnimatedContainerclass
Animated version of Container that gradually changes its values over a period of time. widgets.AnimatedContainer AnimatedContainer Animated Container class widgets
- AssetMetadataclass
Contains information about an asset. services.AssetMetadata AssetMetadata Asset Metadata class services
- TooltipStateclass
Contains the state for a Tooltip. material.TooltipState TooltipState Tooltip State class material
- RawTooltipStateclass
Contains the state for a RawTooltip. widgets.RawTooltipState RawTooltipState Raw Tooltip State class widgets
- OverlayEntryclass
place in an Overlay that can contain a widget. widgets.OverlayEntry OverlayEntry Overlay Entry class widgets
- TextFormFieldclass
FormField that contains a TextField. material.TextFormField TextFormField Text Form Field class material
- PictureLayerclass
composited layer containing a ui.Picture. rendering.PictureLayer PictureLayer Picture Layer class rendering
- RelativeRect.fromRectconstructor
Creates a RelativeRect from two Rects. The second Rect provides the container, the first provides the rectangle, in the same coordinate space, that is to be converted
- DropdownMenuFormFieldclass
FormField that contains a DropdownMenu. material.DropdownMenuFormField DropdownMenuFormField Dropdown Menu Form Field class material
- BottomAppBarclass
container that is typically used with Scaffold.bottomNavigationBar. material.BottomAppBar BottomAppBar Bottom App Bar class material
- DropdownButtonFormFieldclass
FormField that contains a DropdownButton. material.DropdownButtonFormField DropdownButtonFormField Dropdown Button Form Field class material
- OffsetPairclass
container for a local and global Offset pair. gestures.OffsetPair OffsetPair Offset Pair class gestures
- AnimatedListclass
scrolling container that animates items when they are inserted or removed. widgets.AnimatedList AnimatedList Animated List class widgets
- RenderSliverToBoxAdapterclass
RenderSliver that contains a single RenderBox. rendering.RenderSliverToBoxAdapter RenderSliverToBoxAdapter Render Sliver To Box Adapter class rendering
- SliverToBoxAdapterclass
sliver that contains a single box widget. widgets.SliverToBoxAdapter SliverToBoxAdapter Sliver To Box Adapter class widgets
- AppKitViewclass
Widget that contains a macOS AppKit view. widgets.AppKitView AppKitView App Kit View class widgets
Version changes
- Container color optimization1.17.0breaking
tester.pumpWidget(Container(color: Colors.red)); final Container container = tester.widgetList ().first; expect(container.decoration.color, Colors.red); // Or, a test may have specifically looked for the BoxDecoration, e.g.: expect(find.byType
- Deprecate containsSemantics in favor of isSemantics3.41.0deprecated
containsSemantics` partial matcher is deprecated and replaced by `isSemantics` to clarify intent and standardize matcher conventions. The `contains` prefix for partial matchers, such as `containsSemantics`, has been
- - Fix flickering of gaussian blurs in scrolling containers.3.19.4bugfix
flickering of gaussian blurs in scrolling containers
- - Reading Android clipboard may throw a security exception if it contains media1.22.3bugfix
Reading Android clipboard may throw a security exception if it contains media
- - When a scroll view contains a `LayoutBuilder` on any platform, prevent null check crash.3.32.6bugfix
When a scroll view contains a `LayoutBuilder` on any platform, prevent null check crash
- - ios: Visual glitch when scrolling a list in a Scaffold that has a Material and Container as bottomNavigationBar.2.10.3bugfix
glitch when scrolling a list in a Scaffold that has a Material and Container as bottomNavigationBar
- - Avoid CFE crash when input contains invalid super parameters usage.3.3.3bugfix
Avoid CFE crash when input contains invalid super parameters usage
- ListTile reports an error in debug when wrapped in a colored widget3.44.0breaking
When a widget with a non-transparent background color, such as a `Container` or `ColoredBox` that sets `color`, sits between a `ListTile` and its nearest `Material` ancestor
- - Apps crash during launch on Windows when run from paths containing non-ASCII characters.3.38.6bugfix
Apps crash during launch on Windows when run from paths containing non-ASCII characters
- - App crashes on latest versions when AnimatedContainer / Container height is set to 0 and throws uncaught exception3.3.3bugfix
crashes on latest versions when AnimatedContainer / Container height is set to 0 and throws uncaught exception
- - Fixes an issue where Flutter apps would not compile when using custom icon fonts that contain spaces.3.13.1bugfix
issue where Flutter apps would not compile when using custom icon fonts that contain spaces
- - Running `dart pub publish` with custom pub package server that has URL containing a path may fail.2.8.1bugfix
Running `dart pub publish` with custom pub package server that has URL containing a path may fail
- Fix `impellerc` crash on Windows when paths contain Unicode characters, and improve shader compiler error diagnostics.3.47.1bugfix
impellerc` crash on Windows when paths contain Unicode characters, and improve shader compiler error diagnostics
- - Fix crashes on web platforms that contains an extension type declaration where the extension type constructor invokes a redirecting...3.19.4bugfix
crashes on web platforms that contains an extension type declaration where the extension type constructor invokes a redirecting factory in its initializer
- When `analysis_options.yaml` contains flow-style `exclude:` sequences, `AnalysisOptionsMigration` converts the node to block style...3.47.2bugfix
When `analysis_options.yaml` contains flow-style `exclude:` sequences, `AnalysisOptionsMigration` converts the node to block style before appending to avoid `YamlEditor` assertion crashes
- New isSemantics and deprecate containsSemantics3.41.0deprecated
isSemantics and deprecate containsSemantics (Material, by @zemanux
- Improve Container color/decoration error message clarity3.41.0improvement
Improve Container color/decoration error message clarity (Framework, by @777genius
- Make sure that a Container doesn't crash in 0x0 environment3.44.0bugfix
Make sure that a Container doesn't crash in 0x0 environment (Framework, by @ahmedsameha1
- ImageCache and ImageProvider changes1.17.0breaking
ImageCache` now has a method called `containsKey`. `ImageProvider` subclasses should not override `resolve`, but instead should implement new methods on `ImageProvider`. These changes were submitted as a single
- Allow Xcode build configuration to not contain flavor name3.47.0new-feature
Allow Xcode build configuration to not contain flavor name (iOS, by @alex-medinsh
- [flutter_tools] Fix wireless ADB device discovery when serial contains spaces3.47.0tooling
flutter_tools] Fix wireless ADB device discovery when serial contains spaces (Tooling, by @bkonyi
- Fix #160622: change containsWatchConpanion function to detect companion watch apps defined by only the project info file.3.41.0tooling
change containsWatchConpanion function to detect companion watch apps defined by only the project info file. (Tooling, by @garrettjavalia
- Enable deprecated_member_use_from_same_package for all packages containing tests of Dart fixes defined within the package3.41.0tooling
Enable deprecated_member_use_from_same_package for all packages containing tests of Dart fixes defined within the package (Framework, by @jason-simmons
- Actions API revision1.20.0breaking
Intent> { LogicalKeySet(LogicalKeyboardKey.enter): Intent(ActivateAction.key), }, child: Actions( actions: <LocalKey, ActionFactory>{ Activate.key: () => ActivateAction(), }, child: Container
- Trackpad gestures can trigger GestureRecognizer3.3.0breaking
Trackpad gestures on most platforms now send `PointerPanZoom` sequences and can trigger