Commit 43b653e
authored
Add a more typical / concrete example to IntrinsicHeight / IntrinsicWidth (flutter#152246)
The current example:
> for example, when unlimited width is available and
/// you would like a child that would otherwise attempt to expand infinitely to
/// instead size itself to a more reasonable width.
doesn't seem to be the most useful example because most leaf widgets will just size themselves to their intrinsic size if the incoming constraints are not tight, so when
I was reading the doc I wasn't able to come up with any concrete widget combination that would require the use of `IntrinsicHeight`.1 parent 033d1ad commit 43b653e
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3406 | 3406 | | |
3407 | 3407 | | |
3408 | 3408 | | |
3409 | | - | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
3410 | 3412 | | |
3411 | 3413 | | |
3412 | 3414 | | |
| |||
3483 | 3485 | | |
3484 | 3486 | | |
3485 | 3487 | | |
3486 | | - | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
3487 | 3491 | | |
3488 | 3492 | | |
3489 | 3493 | | |
| |||
0 commit comments