Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dnfield committed Oct 24, 2023
1 parent 16c062b commit 05f0f19
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions packages/flutter_svg/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## 2.0.8

- Adds back `DefaultSvgTheme`.
- Bump vector_graphics to 1.1.9+1
- Adds debugFillProperties
- Fix bug for cache keys.

## 2.0.7

Expand Down
6 changes: 3 additions & 3 deletions packages/flutter_svg/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ environment:

# dependency_overrides:
# vector_graphics_codec:
# path: ../../vector_graphics/packages/vector_graphics_codec
# path: ../../../../vector_graphics/packages/vector_graphics_codec
# vector_graphics_compiler:
# path: ../../vector_graphics/packages/vector_graphics_compiler
# path: ../../../../vector_graphics/packages/vector_graphics_compiler
# vector_graphics:
# path: ../../vector_graphics/packages/vector_graphics
# path: ../../../../vector_graphics/packages/vector_graphics
2 changes: 1 addition & 1 deletion packages/flutter_svg/lib/svg.dart
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ class SvgPicture extends StatelessWidget {
StringProperty('bytesLoader', bytesLoader.toString(), showName: false));
properties.add(DoubleProperty('width', width, defaultValue: null));
properties.add(DoubleProperty('height', height, defaultValue: null));
properties.add(EnumProperty<AlignmentGeometry>('alignment', alignment,
properties.add(DiagnosticsProperty<AlignmentGeometry>('alignment', alignment,
defaultValue: Alignment.center));
properties.add(DiagnosticsProperty<bool>(
'allowDrawingOutsideViewBox', allowDrawingOutsideViewBox,
Expand Down
6 changes: 3 additions & 3 deletions packages/flutter_svg/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ version: 2.0.7
dependencies:
flutter:
sdk: flutter
vector_graphics: ^1.1.7
vector_graphics_codec: ^1.1.7
vector_graphics_compiler: ^1.1.7
vector_graphics: ^1.1.9+1
vector_graphics_codec: ^1.1.9+1
vector_graphics_compiler: ^1.1.9+1

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 05f0f19

Please sign in to comment.