From 8591d0c16a6c7edfbea3b5b1bf08ae09db117b71 Mon Sep 17 00:00:00 2001 From: Valentin Vignal <32538273+ValentinVignal@users.noreply.github.com> Date: Mon, 4 Nov 2024 20:46:29 +0800 Subject: [PATCH] Remove null from flex documentation (#158086) Closes https://github.com/flutter/flutter/issues/158085 --- packages/flutter/lib/src/widgets/basic.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/flutter/lib/src/widgets/basic.dart b/packages/flutter/lib/src/widgets/basic.dart index 51e5b1a71a4..fcb30b56db6 100644 --- a/packages/flutter/lib/src/widgets/basic.dart +++ b/packages/flutter/lib/src/widgets/basic.dart @@ -5359,10 +5359,10 @@ class Flexible extends ParentDataWidget { /// 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.