Skip to content

Add IntrinsicHeight and IntrinsicWidth #1881

@Ortes

Description

@Ortes

Is your feature request related to a problem? Please describe.
I would need IntrinsicHeight for better layout.
Is is not favored in the flutter sdk because of the performance cost but in a pdf generation I would gladly trade speed for a better layout.

Describe the solution you'd like
Add Intrinsic* with the same behavior as flutter.

Describe alternatives you've considered
Use CustomMultiChildLayout as already stated in this #1879 but it is less user friendly.

Additional context
Often when using texts and still whanting to align in a colum and row
Case where it is unavoidable:
If I want the top left text to grow the whole block if overflow

Image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions