From c469b0e0198992908d0b2adaff164b2f12bde535 Mon Sep 17 00:00:00 2001 From: phamconganh Date: Thu, 30 Nov 2023 14:59:06 +0700 Subject: [PATCH 1/2] fix line break 'br' --- lib/src/builtins/text_builtin.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/builtins/text_builtin.dart b/lib/src/builtins/text_builtin.dart index 09eca0d75a..b3892a6fad 100644 --- a/lib/src/builtins/text_builtin.dart +++ b/lib/src/builtins/text_builtin.dart @@ -46,6 +46,7 @@ class TextBuiltIn extends HtmlExtension { return TextSpan( text: '\n', style: context.styledElement!.style.generateTextStyle(), + children: const [WidgetSpan(child: SizedBox.shrink())], ); } From 35840ff1ce0403ef3bd5f6d098a7776fa288bfa8 Mon Sep 17 00:00:00 2001 From: phamconganh Date: Wed, 6 Mar 2024 15:19:34 +0700 Subject: [PATCH 2/2] update version --- packages/flutter_html_audio/pubspec.yaml | 2 +- packages/flutter_html_iframe/pubspec.yaml | 2 +- packages/flutter_html_video/pubspec.yaml | 2 +- pubspec.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/flutter_html_audio/pubspec.yaml b/packages/flutter_html_audio/pubspec.yaml index 3c414a36f1..02e8c5865a 100644 --- a/packages/flutter_html_audio/pubspec.yaml +++ b/packages/flutter_html_audio/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: sdk: flutter html: '>=0.15.0 <1.0.0' flutter_html: ^3.0.0-beta.2 - video_player: '>=2.2.8 <3.0.0' + video_player: '>=2.8.3 <3.0.0' chewie_audio: ^1.5.0 dev_dependencies: diff --git a/packages/flutter_html_iframe/pubspec.yaml b/packages/flutter_html_iframe/pubspec.yaml index a9828a2e9c..c49bd7cedb 100644 --- a/packages/flutter_html_iframe/pubspec.yaml +++ b/packages/flutter_html_iframe/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: sdk: flutter html: '>=0.15.0 <1.0.0' flutter_html: ^3.0.0-beta.2 - webview_flutter: '>=4.0.0 <5.0.0' + webview_flutter: '>=4.7.0 <5.0.0' dev_dependencies: flutter_test: diff --git a/packages/flutter_html_video/pubspec.yaml b/packages/flutter_html_video/pubspec.yaml index 4eb4a7a7c0..d155fc19e7 100644 --- a/packages/flutter_html_video/pubspec.yaml +++ b/packages/flutter_html_video/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: sdk: flutter html: '>=0.15.0 <1.0.0' flutter_html: ^3.0.0-beta.2 - video_player: '>=2.2.8 <3.0.0' + video_player: '>=2.8.3 <3.0.0' chewie: '>=1.1.0 <2.0.0' dev_dependencies: diff --git a/pubspec.yaml b/pubspec.yaml index 75645554be..ba02fe5a85 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -28,7 +28,7 @@ dev_dependencies: sdk: flutter flutter_lints: ^2.0.1 meta: ^1.8.0 - melos: ^3.0.1 + melos: ^4.1.0 screenshots: - description: 'An example of the output produced by flutter_html'