Skip to content

Commit

Permalink
[flutter_svg] wasm compatibility (flutter#8014)
Browse files Browse the repository at this point in the history
Make `flutter_svg` wasm compatible
  • Loading branch information
nank1ro authored Nov 7, 2024
1 parent f0b38ad commit da51281
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions third_party/packages/flutter_svg/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.14

* Makes the package WASM compatible.

## 2.0.13

* Relaxes the dependency constraints on vector_graphics, vector_graphics_codec,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export '_file_io.dart' if (dart.library.html) '_file_none.dart';
export '_file_io.dart' if (dart.library.js_interop) '_file_none.dart';
6 changes: 3 additions & 3 deletions third_party/packages/flutter_svg/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.13
version: 2.0.14

environment:
sdk: ^3.4.0
Expand All @@ -12,9 +12,9 @@ dependencies:
flutter:
sdk: flutter
http: ^1.0.0
vector_graphics: ^1.1.11+1
vector_graphics: ^1.1.13
vector_graphics_codec: ^1.1.11+1
vector_graphics_compiler: ^1.1.11+1
vector_graphics_compiler: ^1.1.14

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit da51281

Please sign in to comment.