Skip to content

Commit

Permalink
Remove null from flex documentation (flutter#158086)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinVignal authored Nov 4, 2024
1 parent ed91ba1 commit 8591d0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/flutter/lib/src/widgets/basic.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5359,10 +5359,10 @@ class Flexible extends ParentDataWidget<FlexParentData> {

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

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

0 comments on commit 8591d0c

Please sign in to comment.