Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
05c6df6d
Unverified
Commit
05c6df6d
authored
Dec 05, 2022
by
Loïc Sharma
Committed by
GitHub
Dec 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve Flex layout comment (#116004)
parent
49d0b5b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
flex.dart
packages/flutter/lib/src/rendering/flex.dart
+2
-2
basic.dart
packages/flutter/lib/src/widgets/basic.dart
+6
-6
No files found.
packages/flutter/lib/src/rendering/flex.dart
View file @
05c6df6d
...
...
@@ -235,8 +235,8 @@ typedef _ChildSizingFunction = double Function(RenderBox child, double extent);
///
/// Layout for a [RenderFlex] proceeds in six steps:
///
/// 1. Layout each child
a null or zero flex factor with unbounded main axis
/// constraints and the incoming cross axis constraints. If the
/// 1. Layout each child
with a null or zero flex factor with unbounded main
///
axis
constraints and the incoming cross axis constraints. If the
/// [crossAxisAlignment] is [CrossAxisAlignment.stretch], instead use tight
/// cross axis constraints that match the incoming max extent in the cross
/// axis.
...
...
packages/flutter/lib/src/widgets/basic.dart
View file @
05c6df6d
...
...
@@ -4399,8 +4399,8 @@ class PositionedDirectional extends StatelessWidget {
///
/// Layout for a [Flex] proceeds in six steps:
///
/// 1. Layout each child
a null or zero flex factor (e.g., those that are not
/// [Expanded]) with unbounded main axis constraints and the incoming
/// 1. Layout each child
with a null or zero flex factor (e.g., those that are
///
not
[Expanded]) with unbounded main axis constraints and the incoming
/// cross axis constraints. If the [crossAxisAlignment] is
/// [CrossAxisAlignment.stretch], instead use tight cross axis constraints
/// that match the incoming max extent in the cross axis.
...
...
@@ -4776,8 +4776,8 @@ class Flex extends MultiChildRenderObjectWidget {
///
/// Layout for a [Row] proceeds in six steps:
///
/// 1. Layout each child
a null or zero flex factor (e.g., those that are not
/// [Expanded]) with unbounded horizontal constraints and the incoming
/// 1. Layout each child
with a null or zero flex factor (e.g., those that are
///
not
[Expanded]) with unbounded horizontal constraints and the incoming
/// vertical constraints. If the [crossAxisAlignment] is
/// [CrossAxisAlignment.stretch], instead use tight vertical constraints that
/// match the incoming max height.
...
...
@@ -4967,8 +4967,8 @@ class Row extends Flex {
///
/// Layout for a [Column] proceeds in six steps:
///
/// 1. Layout each child
a null or zero flex factor (e.g., those that are not
/// [Expanded]) with unbounded vertical constraints and the incoming
/// 1. Layout each child
with a null or zero flex factor (e.g., those that are
///
not
[Expanded]) with unbounded vertical constraints and the incoming
/// horizontal constraints. If the [crossAxisAlignment] is
/// [CrossAxisAlignment.stretch], instead use tight horizontal constraints
/// that match the incoming max width.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment