diff --git a/README.md b/README.md index a5cab7e29..779e2b0eb 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ And start using it! __Important__ -We strive to keep Flame working on the Flutter's stable channel, currently on version 1.5.4-hotfix.2, be sure to check which channel are you using if you encounter any trouble. +We strive to keep Flame working on the Flutter's stable channel, currently on version v1.7.8+hotfix.2, be sure to check which channel are you using if you encounter any trouble. ## Documentation diff --git a/lib/svg.dart b/lib/svg.dart index fbaf28924..11339e518 100644 --- a/lib/svg.dart +++ b/lib/svg.dart @@ -23,7 +23,7 @@ class Svg { } svgRoot.scaleCanvasToViewBox(canvas, Size(width, height)); - svgRoot.draw(canvas, null); + svgRoot.draw(canvas, null, null); } /// Renders the svg on the [canvas] on the given [position] using the dimmensions provided on [width] and [height] diff --git a/pubspec.yaml b/pubspec.yaml index 62232bf3a..ea6d3d9ef 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,8 +17,8 @@ dependencies: synchronized: ^2.1.0 tiled: ^0.2.1 convert: ^2.0.1 - flutter_svg: ^0.11.0 - flare_flutter: ^1.5.0 + flutter_svg: ^0.13.0+2 + flare_flutter: ^1.5.3 dev_dependencies: flutter_test: @@ -27,4 +27,4 @@ dev_dependencies: environment: sdk: ">=2.2.0 <3.0.0" - flutter: ">=1.5.0 <1.6.0" + flutter: ">=1.6.0"