Fixed warning on using specific version o flutter_svg on pubspec

This commit is contained in:
Erick Zanardo
2019-04-19 15:35:18 -03:00
parent 7cc0ef9a35
commit e132e9d926
3 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
## [next] ## [next]
- Fixed bug on animatons with a single frame - Fixed bug on animatons with a single frame
- Fixed warning on using specific version o flutter_svg on pubspec
## [0.11.1] ## [0.11.1]
- Fixed lack of paint update when using AnimationAsWidget as pointed in #78 - Fixed lack of paint update when using AnimationAsWidget as pointed in #78

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,7 +17,7 @@ dependencies:
synchronized: ^1.5.1+1 synchronized: ^1.5.1+1
tiled: ^0.2.1 tiled: ^0.2.1
convert: ^2.0.1 convert: ^2.0.1
flutter_svg: 0.12.0 flutter_svg: ^0.12.4
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: