• Adam Barth's avatar
    Custom switch images are nutty (#4852) · fc711a10
    Adam Barth authored
    Rather than requiring the developer to specify a full Decoration, we now
    just take an ImageProvider for the thumb image. Also, fix
    ImageFit.scaleDown to actually work.
    
    Fixes #4571
    Fixes #4673
    fc711a10
switch_test.dart 1.78 KB