• Adam Barth's avatar
    Icon should use an enum rather than an int for size · eeea4ab7
    Adam Barth authored
    Material design icons are defined to work at specific sizes: 18, 24, 36, 48.
    The current API doesn't reflect that and just takes a size int. If an invalid
    size is chosen an error is printed to the console and no icon shows up.
    
    Fixes #1816
    eeea4ab7
feed.dart 7.61 KB