• Adam Barth's avatar
    Change `Flexible`'s default `FlexFit` (#7404) · 03d19807
    Adam Barth authored
    Change `Flexible`'s default `FlexFit`
    
    Previously, `Flexible` defaulted to `FlexFit.tight`, which forced the child to
    expand to fill the available space. Now, `Flexible` defaults to
    `FlexFit.loose`, which does not force the child to expand to fill the available
    space.
    
    If you want the child to expand to fill the available space, consider using
    `Expanded` instead.
    
    Fixes #5169
    03d19807
flex_test.dart 2.1 KB