Skip to content

Commit 8591d0c

Browse files
Remove null from flex documentation (flutter#158086)
Closes flutter#158085
1 parent ed91ba1 commit 8591d0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/flutter/lib/src/widgets/basic.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5359,10 +5359,10 @@ class Flexible extends ParentDataWidget<FlexParentData> {
53595359

53605360
/// The flex factor to use for this child.
53615361
///
5362-
/// If null or zero, the child is inflexible and determines its own size. If
5363-
/// non-zero, the amount of space the child can occupy in the main axis is
5364-
/// determined by dividing the free space (after placing the inflexible
5365-
/// children) according to the flex factors of the flexible children.
5362+
/// If zero, the child is inflexible and determines its own size. If non-zero,
5363+
/// the amount of space the child can occupy in the main axis is determined by
5364+
/// dividing the free space (after placing the inflexible children) according
5365+
/// to the flex factors of the flexible children.
53665366
final int flex;
53675367

53685368
/// How a flexible child is inscribed into the available space.

0 commit comments

Comments
 (0)