Skip to content

Commit

Permalink
v0.6.0-rc.2021022601 -- version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
daohoangson committed Feb 26, 2021
1 parent 5037175 commit 2f191a9
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 10 deletions.
4 changes: 4 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.0-rc.2021022601

- Migrate to null safety (#436, authored by @miDeb)

## 0.5.2+1

- [CanvasKit] Add workaround for unimplemented `computeLineMetrics` (#441)
Expand Down
6 changes: 3 additions & 3 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
A Flutter package for building Flutter widget tree from HTML with support for 70+ most popular tags.

| [Live demo](https://html-widget-demo.now.sh/#/helloworldcore) | |
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|-----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
| ![](https://raw.githubusercontent.com/daohoangson/flutter_widget_from_html/master/demo_app/screenshots/HelloWorldCoreScreen1.gif) | ![](https://raw.githubusercontent.com/daohoangson/flutter_widget_from_html/master/demo_app/screenshots/HelloWorldCoreScreen2.gif) |

## Getting Started
Expand All @@ -16,7 +16,7 @@ Add this to your app's `pubspec.yaml` file:

```yaml
dependencies:
flutter_widget_from_html_core: ^0.5.2
flutter_widget_from_html_core: ^0.6.0
```
## Usage
Expand Down Expand Up @@ -230,7 +230,7 @@ class CustomWidgetBuilderScreen extends StatelessWidget {
The HTML string is parsed into DOM elements and each element is visited once to collect `BuildMetadata` and prepare `BuildBit`s. See step by step how it works:

| Step | | Integration point |
| ---- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- |
|------|--------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|
| 1 | Parse | `WidgetFactory.parse(BuildMetadata)` |
| 2 | Inform parents if any | `BuildOp.onChild(BuildMetadata)` |
| 3 | Populate default styling | `BuildOp.defaultStyles(Element)` |
Expand Down
4 changes: 2 additions & 2 deletions packages/core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: flutter_widget_from_html_core
version: 0.5.2+1
version: 0.6.0-rc.2021022601
description: Flutter package for widget tree building from html that focuses on correctness and extensibility.
homepage: https://github.com/daohoangson/flutter_widget_from_html/tree/master/packages/core

environment:
# Stack.clipBehavior https://github.com/flutter/flutter/commit/42e02d60d3104e97161ba597103854557b2d72ee
flutter: ">=1.20.0 <2.0.0"
flutter: ">=1.20.0"
sdk: ">=2.12.0-0 <3.0.0"

dependencies:
Expand Down
4 changes: 4 additions & 0 deletions packages/enhanced/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.0-rc.2021022601

- Migrate to use [email protected]

## 0.5.2+1

- [CanvasKit] Add workaround for unimplemented `computeLineMetrics` (#441)
Expand Down
4 changes: 2 additions & 2 deletions packages/enhanced/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
A Flutter package for building Flutter widget tree from HTML with support for IFRAME, VIDEO and 70+ other tags.

| [Live demo](https://html-widget-demo.now.sh/#/helloworld) | | |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|-------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|
| ![](https://raw.githubusercontent.com/daohoangson/flutter_widget_from_html/master/demo_app/screenshots/HelloWorldScreen1.jpg) | ![](https://raw.githubusercontent.com/daohoangson/flutter_widget_from_html/master/demo_app/screenshots/HelloWorldScreen2.gif) | ![](https://raw.githubusercontent.com/daohoangson/flutter_widget_from_html/master/demo_app/screenshots/HelloWorldScreen3.gif) |

## Getting Started
Expand All @@ -16,7 +16,7 @@ Add this to your app's `pubspec.yaml` file:

```yaml
dependencies:
flutter_widget_from_html: ^0.5.2
flutter_widget_from_html: ^0.6.0
```
## Usage
Expand Down
6 changes: 3 additions & 3 deletions packages/enhanced/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: flutter_widget_from_html
version: 0.5.2+1
version: 0.6.0-rc.2021022601
description: Flutter package for widget tree building from html that supports hyperlink, image, nested list, etc.
homepage: https://github.com/daohoangson/flutter_widget_from_html

environment:
# flutter_widget_from_html_core
flutter: ">=1.20.0 <2.0.0"
flutter: ">=1.20.0"
sdk: ">=2.7.0 <3.0.0"

dependencies:
Expand All @@ -14,7 +14,7 @@ dependencies:
flutter:
sdk: flutter
flutter_svg: ^0.20.0-0
flutter_widget_from_html_core: ^0.5.2+1
flutter_widget_from_html_core: ^0.6.0-0
html: ^0.15.0
url_launcher: ^5.5.0
video_player: ">=0.10.12 <2.0.0"
Expand Down

0 comments on commit 2f191a9

Please sign in to comment.