diff --git a/packages/flutter_markdown/CHANGELOG.md b/packages/flutter_markdown/CHANGELOG.md index 002d6d150abd..40c40d6c871f 100644 --- a/packages/flutter_markdown/CHANGELOG.md +++ b/packages/flutter_markdown/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.7.4+2 + +* Fixes pub.dev detection of WebAssembly support. + ## 0.7.4+1 * Makes it so that custom blocks are not limited to being a Column or diff --git a/packages/flutter_markdown/lib/src/widget.dart b/packages/flutter_markdown/lib/src/widget.dart index be7f9d7047c3..88540e412644 100644 --- a/packages/flutter_markdown/lib/src/widget.dart +++ b/packages/flutter_markdown/lib/src/widget.dart @@ -10,7 +10,7 @@ import 'package:flutter/rendering.dart'; import 'package:markdown/markdown.dart' as md; import '../flutter_markdown.dart'; -import '_functions_io.dart' if (dart.library.html) '_functions_web.dart'; +import '_functions_io.dart' if (dart.library.js_interop) '_functions_web.dart'; /// Signature for callbacks used by [MarkdownWidget] when /// [MarkdownWidget.selectable] is set to true and the user changes selection. diff --git a/packages/flutter_markdown/pubspec.yaml b/packages/flutter_markdown/pubspec.yaml index 5f743a8b032a..b15a738f4ce3 100644 --- a/packages/flutter_markdown/pubspec.yaml +++ b/packages/flutter_markdown/pubspec.yaml @@ -4,7 +4,7 @@ description: A Markdown renderer for Flutter. Create rich text output, formatted with simple Markdown tags. repository: https://github.com/flutter/packages/tree/main/packages/flutter_markdown issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_markdown%22 -version: 0.7.4+1 +version: 0.7.4+2 environment: sdk: ^3.3.0