v0.3.6

#17094 introduced the ability to do golden image testing in widget tests.  Within a widget test, you can now use the following matcher to ensure that your widget’s rasterized image matches a golden file (e.g. foo.png):

    
await expectLater(find.byType(MyWidget), matchesGoldenFile('foo.png'));
    

    
Breaking change

    One of the consequences of this change is that all tests run through flutter test now explicitly depend on package:flutter_test.  Users of flutter test will need to update their pubspec.yaml file to include the following if it does not already exist:

    
dev_dependencies:
  flutter_test:
    sdk: flutter
    

    If your pubspec.yaml does not contain the requisite dependency, and you run flutter test, you will see errors of the following form: