Updating sdk constraints and flutter svg version

This commit is contained in:
Erick Zanardo
2019-07-08 23:14:17 -03:00
parent 5866a1678c
commit a9d9484b97
3 changed files with 5 additions and 5 deletions

View File

@ -69,7 +69,7 @@ And start using it!
__Important__ __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 ## Documentation

View File

@ -23,7 +23,7 @@ class Svg {
} }
svgRoot.scaleCanvasToViewBox(canvas, Size(width, height)); 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] /// Renders the svg on the [canvas] on the given [position] using the dimmensions provided on [width] and [height]

View File

@ -17,8 +17,8 @@ dependencies:
synchronized: ^2.1.0 synchronized: ^2.1.0
tiled: ^0.2.1 tiled: ^0.2.1
convert: ^2.0.1 convert: ^2.0.1
flutter_svg: ^0.11.0 flutter_svg: ^0.13.0+2
flare_flutter: ^1.5.0 flare_flutter: ^1.5.3
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
@ -27,4 +27,4 @@ dev_dependencies:
environment: environment:
sdk: ">=2.2.0 <3.0.0" sdk: ">=2.2.0 <3.0.0"
flutter: ">=1.5.0 <1.6.0" flutter: ">=1.6.0"