mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +08:00
Fixed warning on using specific version o flutter_svg on pubspec
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
## [next]
|
||||
- Fixed bug on animatons with a single frame
|
||||
- Fixed warning on using specific version o flutter_svg on pubspec
|
||||
|
||||
## [0.11.1]
|
||||
- Fixed lack of paint update when using AnimationAsWidget as pointed in #78
|
||||
|
||||
@ -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]
|
||||
|
||||
@ -17,7 +17,7 @@ dependencies:
|
||||
synchronized: ^1.5.1+1
|
||||
tiled: ^0.2.1
|
||||
convert: ^2.0.1
|
||||
flutter_svg: 0.12.0
|
||||
flutter_svg: ^0.12.4
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
Reference in New Issue
Block a user