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
ab06d033
Unverified
Commit
ab06d033
authored
Apr 06, 2019
by
Hans Muller
Committed by
GitHub
Apr 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a typo in the Expanded API doc (#30563)
parent
30678259
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
basic.dart
packages/flutter/lib/src/widgets/basic.dart
+5
-3
No files found.
packages/flutter/lib/src/widgets/basic.dart
View file @
ab06d033
...
...
@@ -4297,10 +4297,11 @@ class Flexible extends ParentDataWidget<Flex> {
}
}
/// A widget that expands a child of a [Row], [Column], or [Flex].
/// A widget that expands a child of a [Row], [Column], or [Flex]
/// so that the child fills the available space.
///
/// Using an [Expanded] widget makes a child of a [Row], [Column], or [Flex]
/// expand to fill the available space
in
the main axis (e.g., horizontally for
/// expand to fill the available space
along
the main axis (e.g., horizontally for
/// a [Row] or vertically for a [Column]). If multiple children are expanded,
/// the available space is divided among them according to the [flex] factor.
///
...
...
@@ -4395,7 +4396,8 @@ class Flexible extends ParentDataWidget<Flex> {
/// * The [catalog of layout widgets](https://flutter.dev/widgets/layout/).
class
Expanded
extends
Flexible
{
/// Creates a widget that expands a child of a [Row], [Column], or [Flex]
/// expand to fill the available space in the main axis.
/// so that the child fills the available space along the flex widget's
/// main axis.
const
Expanded
({
Key
key
,
int
flex
=
1
,
...
...
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