Skip to content

Commit 8775f45

Browse files
committed
[core] v0.16.0
1 parent 2bdff76 commit 8775f45

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

demo_app/integration_test/auto_resize_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ void main() {
1313
child: VideoPlayer(
1414
'https://files.daohoangson.com/public/fwfh/flower.mp4',
1515
aspectRatio: 1,
16-
loadingBuilder: (_, __, ___) =>
17-
const Center(child: CircularProgressIndicator()),
16+
loadingBuilder:
17+
(_, _, _) => const Center(child: CircularProgressIndicator()),
1818
),
1919
);
2020

packages/core/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.16.0
2+
3+
- Requires Flutter 3.22 (#1403)
4+
- Add support for CSS `gap` (#1403)
5+
16
## 0.15.2
27

38
- Add support for Flutter 3.24 (#1308)
@@ -7,7 +12,7 @@
712

813
## 0.15.1
914

10-
- Drop support for Flutter 3.7 (#1250)
15+
- Requires Flutter 3.10 (#1250)
1116
- Add support for `currentcolor` (#1240)
1217
- Fix zero size image (#1266)
1318

packages/core/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Add this to your app's `pubspec.yaml` file:
1717

1818
```yaml
1919
dependencies:
20-
flutter_widget_from_html_core: ^0.15.2
20+
flutter_widget_from_html_core: ^0.16.0
2121
```
2222
2323
## Usage
@@ -146,12 +146,13 @@ These tags and their contents will be ignored:
146146
- In `flex` mode:
147147
- flex-direction: column/row
148148
- align-items: flex-start/flex-end/center/baseline/stretch
149+
- gap: value in `em`, `%`, `pt` and `px`
149150
- justify-content: flex-start/flex-end/center/space-between/space-around/space-evenly
150151
- font-family
151152
- font-size: absolute (e.g. `xx-large`), relative (`larger`, `smaller`) or values in `em`, `%`, `pt` and `px`
152153
- font-style: italic/normal
153154
- font-weight: bold/normal/100..900
154-
- line-height: `normal`, number or values in `em`, `%`, `pt` and `px`
155+
- line-height: `normal`, number or value in `em`, `%`, `pt` and `px`
155156
- margin: 4 values, 2 values or 1 value in `em`, `pt` and `px`
156157
- margin-top, margin-right, margin-bottom, margin-left
157158
- margin-block-start, margin-block-end

packages/core/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: flutter_widget_from_html_core
2-
version: 0.15.2
2+
version: 0.16.0
33
description: Flutter package to render html as widgets that focuses on correctness and extensibility.
44
homepage: https://github.com/daohoangson/flutter_widget_from_html/tree/master/packages/core
55

packages/enhanced/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ description: Flutter package to render html as widgets that supports hyperlink,
44
homepage: https://github.com/daohoangson/flutter_widget_from_html
55

66
environment:
7-
flutter: ">=3.16.0"
8-
sdk: ">=3.2.0 <4.0.0"
7+
flutter: ">=3.22.0"
8+
sdk: ">=3.4.0 <4.0.0"
99

1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
flutter_widget_from_html_core: ^0.15.2
13+
flutter_widget_from_html_core: ^0.16.0
1414
fwfh_cached_network_image: ^0.14.3
1515
fwfh_chewie: ^0.14.8
1616
fwfh_just_audio: ^0.15.2

0 commit comments

Comments
 (0)