Xayn readability provides the reader mode widget, which renders html content as pure Flutter widgets.
The project transforms html content into readable
html content, using a native dart port of
Mozilla's fantastic readability project.
The rendering to Flutter widgets is done using another great open source project, flutter_widget_from_html_core.
Add this to your package's pubspec.yaml
file:
dependencies:
xayn_readability: `latest version`
after that, shoot it on the command line:
$ flutter pub get
Use case #1 (short description)
// add some code with ninja-comments here
Use case #2 (short description)
// add some code with ninja-comments here
Use case #3 (short description)
// add some code with ninja-comments here
- try out the example
attribute name | Datatype | Default Value | Description |
---|---|---|---|
child |
Widget |
required |
The widget below this widget in the tree. |
isEnabled |
bool |
true |
Responsible for showing component as enabled. |
key |
Key |
null |
Controls how one widget replaces another widget in the tree. |
Describe here well known problems and how they can be solved.
We're more than happy to accept pull requests 💪
- check our contributing page
- found a bug or have a question? Please create an issue.
xayn_readability is licensed under Apache 2
. View license.