mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 20:13:50 +08:00
Updating sdk constraints and flutter svg version
This commit is contained in:
@ -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]
|
||||
|
||||
Reference in New Issue
Block a user