• Greg Spencer's avatar
    Modify the MaterialButton to expand when text is scaled. (#12431) · 25ac924e
    Greg Spencer authored
    This modifies the MaterialButton to expand vertically to fit the size of the contained child, no matter what the child widget is. It tries to be as close as possible to the minHeight constraint.
    
    Also updated some doc comments to have headers (extra blank line after first sentence), and to wrap at 80 cols.
    
    Addresses #12311
    25ac924e
flat_button.dart 5.92 KB