Results for “Container”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
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
- Add interactivity to your Flutter appdoc
stateful widgets. In this tutorial, you'll add interactivity to an app that contains only non-interactive widgets. Specifically, you'll modify an icon to make
- Hero animationsdoc
representing items for sale. Selecting an item flies it to a new screen, containing more details and a Buy button. Flying an image from one screen
- Simple animationsdoc
each Tile animates to a new color in about half a second. Convert Container to AnimatedContainer Currently, the Tile.build method returns a Container to display
- Build a form with validationdoc
Form with a GlobalKey Create a Form . The Form widget acts as a container for grouping and validating multiple form fields. When creating the form, provide
- Send data to the internetdoc
method to send the encoded data: The http.post() method returns a Future that contains a Response . Future is a core Dart class for working with asynchronous operations
- Understanding Flutter's keyboard focus systemdoc
How to use the focus system in your Flutter app. This article
- Build and release an Android appdoc
Store Update the app's version number Android release FAQ the directory that contains your application. While following these instructions, substitute [project] with your app's directory
- Fetch data from the internetdoc
JSONPlaceholder using the http.get() method. The http.get() method returns a Future that contains a Response . Future is a core Dart class for working with async operations
- Create lists with different types of itemsdoc
implement a list that contains different types of assets. You might need to create lists that display different types of content. For example, you might be working
- User inputdoc
Accept input from the user with buttons and text fields. Learn to
- Common architecture conceptsdoc
promotes modularity and maintainability by dividing an application's functionality into distinct, self-contained units. From a high-level, this means separating your UI logic from your
- Introduction to animationsdoc
How to perform animations in Flutter. Well-designed animations make a UI
- Navigate with named routesdoc
Create two screens First, create two screens to work with. The first screen contains a button that navigates to the second screen. The second screen contains
- Find widgetsdoc
Find a Text widget In testing, you often need to find widgets that contain specific text. This is exactly what the find.text() method is for. It creates
- Navigate to a new screen and backdoc
navigate between routes. Most apps contain several screens for displaying different types of information. For example, an app might have a screen that displays products. When
- Parse JSON in the backgrounddoc
network request This example covers how to fetch a large JSON document that contains a list of 5000 photo objects from the JSONPlaceholder REST API , using
- Send data to a new screendoc
simple way to represent todos. For this example, create a class that contains two pieces of data: the title and description. 2. Create a list of todos
- An introduction to unit testingdoc
file In this example, create two files: counter.dart and counter_test.dart . The counter.dart file contains a class that you want to test and resides in the lib folder
- DevToolsdoc
Learn to use the Dart DevTools when developing Flutter apps. Learn to
- Advanced scrolling and sliversdoc
Learn how to implement performant scrolling with slivers. In this lesson, you
- Navigation and routingdoc
Overview of Flutter's navigation and routing features Flutter provides a complete
- Staggered animationsdoc
How to write a staggered animation in Flutter. A staggered animation consists
- Animations tutorialdoc
A tutorial showing how to build explicit animations in Flutter. How to
- Use listsdoc
Create a ListView Using the standard ListView constructor is perfect for lists that contain only a few items. The built-in ListTile widget
- Work with long listsdoc
standard ListView constructor works well for small lists. To work with lists that contain a large number of items, it's best to use the ListView.builder constructor
- Return data from a screendoc
Show the selection screen with two buttons Now, build a selection screen that contains two buttons. When a user taps a button, that app closes the selection
- Handle scrollingdoc
content, from email clients to music apps and beyond. To verify that lists contain the expected content using widget tests, you need a way to scroll through
- Handle changes to a text fielddoc
important to use characters when dealing with user input, as text might contain complex characters. This ensures that every character is counted correctly as it appears
- Architecture recommendations and resourcesdoc
Recommendations for building scalable Flutter applications. This page presents architecture best practices
- Fetch data from the internetdoc
more testable, reusable, and easier to maintain. A single feature in your app contains each one of the MVVM components. In this tutorial, in addition to Flutter
- UI design & stylingdoc
aspects of accessible UI design and styling. Large fonts Both Android and iOS contain system settings to configure the desired font sizes used by apps. Flutter text
- Accessibility testingdoc
Information on Flutter's accessibility testing. Accessibility regulations To ensure your app
- Deep linkingdoc
Navigate to routes when the app receives a new URL. Deep links
- LayoutBuilder and adaptive layoutsdoc
Learn how to use the LayoutBuilder widget. Learn how to create layouts
- SafeArea & MediaQuerydoc
Learn how to use SafeArea and MediaQuery to create an adaptive app
- Differentiate between ephemeral state and app statedoc
sometimes called UI state or local state ) is the state you can neatly contain in a single widget. This is, intentionally, a vague definition, so here
- Stack-based navigationdoc
callback and imports in lib/screens/contact_groups.dart are implemented as follows: This small code block contains the most important new information on this page. Navigator.of(context) retrieves the nearest
- Common Flutter errorsdoc
How to recognize and resolve common Flutter framework errors. Introduction This page
- JSON and serializationdoc
How to use JSON with Flutter. It is hard to think of
- Performance best practicesdoc
How to ensure that your Flutter app is performant. Generally, Flutter applications
- Flutter performance profilingdoc
Diagnosing UI performance issues in Flutter. Overview App performance encompasses various aspects
- Build and release an iOS appdoc
How to release a Flutter app to the App Store. This guide
- Writing custom platform-specific codedoc
Learn how to write custom platform-specific code in your app. This