diff --git a/third_party/packages/flutter_svg/CHANGELOG.md b/third_party/packages/flutter_svg/CHANGELOG.md index a6e42f55cbf..e663268cee2 100644 --- a/third_party/packages/flutter_svg/CHANGELOG.md +++ b/third_party/packages/flutter_svg/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.2.2 + +* Fixes typo of `allowDrawingOutsideViewBox` in doc comments. + ## 2.2.1 * Fixes message buffer access in SvgAssetLoader. diff --git a/third_party/packages/flutter_svg/lib/svg.dart b/third_party/packages/flutter_svg/lib/svg.dart index 0e61acfe7d1..58f7172fc13 100644 --- a/third_party/packages/flutter_svg/lib/svg.dart +++ b/third_party/packages/flutter_svg/lib/svg.dart @@ -65,7 +65,7 @@ class SvgPicture extends StatelessWidget { /// If `matchTextDirection` is set to true, the picture will be flipped /// horizontally in [TextDirection.rtl] contexts. /// - /// The `allowDrawingOutsideOfViewBox` parameter should be used with caution - + /// The `allowDrawingOutsideViewBox` parameter should be used with caution - /// if set to true, it will not clip the canvas used internally to the view box, /// meaning the picture may draw beyond the intended area and lead to undefined /// behavior or additional memory overhead. @@ -116,7 +116,7 @@ class SvgPicture extends StatelessWidget { /// If `matchTextDirection` is set to true, the picture will be flipped /// horizontally in [TextDirection.rtl] contexts. /// - /// The `allowDrawingOutsideOfViewBox` parameter should be used with caution - + /// The `allowDrawingOutsideViewBox` parameter should be used with caution - /// if set to true, it will not clip the canvas used internally to the view box, /// meaning the picture may draw beyond the intended area and lead to undefined /// behavior or additional memory overhead. @@ -222,7 +222,7 @@ class SvgPicture extends StatelessWidget { /// If `matchTextDirection` is set to true, the picture will be flipped /// horizontally in [TextDirection.rtl] contexts. /// - /// The `allowDrawingOutsideOfViewBox` parameter should be used with caution - + /// The `allowDrawingOutsideViewBox` parameter should be used with caution - /// if set to true, it will not clip the canvas used internally to the view box, /// meaning the picture may draw beyond the intended area and lead to undefined /// behavior or additional memory overhead. @@ -287,7 +287,7 @@ class SvgPicture extends StatelessWidget { /// If `matchTextDirection` is set to true, the picture will be flipped /// horizontally in [TextDirection.rtl] contexts. /// - /// The `allowDrawingOutsideOfViewBox` parameter should be used with caution - + /// The `allowDrawingOutsideViewBox` parameter should be used with caution - /// if set to true, it will not clip the canvas used internally to the view box, /// meaning the picture may draw beyond the intended area and lead to undefined /// behavior or additional memory overhead. @@ -346,7 +346,7 @@ class SvgPicture extends StatelessWidget { /// If `matchTextDirection` is set to true, the picture will be flipped /// horizontally in [TextDirection.rtl] contexts. /// - /// The `allowDrawingOutsideOfViewBox` parameter should be used with caution - + /// The `allowDrawingOutsideViewBox` parameter should be used with caution - /// if set to true, it will not clip the canvas used internally to the view box, /// meaning the picture may draw beyond the intended area and lead to undefined /// behavior or additional memory overhead. @@ -402,7 +402,7 @@ class SvgPicture extends StatelessWidget { /// If `matchTextDirection` is set to true, the picture will be flipped /// horizontally in [TextDirection.rtl] contexts. /// - /// The `allowDrawingOutsideOfViewBox` parameter should be used with caution - + /// The `allowDrawingOutsideViewBox` parameter should be used with caution - /// if set to true, it will not clip the canvas used internally to the view box, /// meaning the picture may draw beyond the intended area and lead to undefined /// behavior or additional memory overhead. diff --git a/third_party/packages/flutter_svg/pubspec.yaml b/third_party/packages/flutter_svg/pubspec.yaml index 152ee9137ea..c1e8b32a6e5 100644 --- a/third_party/packages/flutter_svg/pubspec.yaml +++ b/third_party/packages/flutter_svg/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_svg description: An SVG rendering and widget library for Flutter, which allows painting and displaying Scalable Vector Graphics 1.1 files. repository: https://github.com/flutter/packages/tree/main/third_party/packages/flutter_svg issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_svg%22 -version: 2.2.1 +version: 2.2.2 environment: sdk: ^3.7.0