-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Closed
Copy link
Labels
d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamOwned by Framework team
Description
Steps to reproduce
flutter/packages/flutter/lib/src/widgets/basic.dart
Lines 5360 to 5366 in 0505176
| /// 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. | |
| final int flex; |
The documentation says "If null or zero", but it cannot be null.
Expected results
The documentation should only mention "If zero"
Actual results
The documentation mentions "If null or zero"
Code sample
Code sample
NA
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
NA
Metadata
Metadata
Assignees
Labels
d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamOwned by Framework team