diff --git a/packages/flutter_svg_test/test/flutter_svg_test_test.dart b/packages/flutter_svg_test/test/flutter_svg_test_test.dart index a3a88e05..474b5e79 100644 --- a/packages/flutter_svg_test/test/flutter_svg_test_test.dart +++ b/packages/flutter_svg_test/test/flutter_svg_test_test.dart @@ -174,10 +174,12 @@ class _FakeHttpClientResponse extends Fake implements HttpClientResponse { } } +// Ignore this because the minimum flutter sdk needs this cast. +// ignore: unnecessary_cast final Uint8List _svgBytes = utf8.encode(_svgStr) as Uint8List; const String _svgStr = ''' - + ''';