# flutter_html
**Repository Path**: flutter_libs/flutter_html
## Basic Information
- **Project Name**: flutter_html
- **Description**: 依赖时,请依赖feature/inline-style分支 fork自flutter_html修改后 支持长按进行选择但是,由于flutter_html这个源码转换标签时,一个标签只对应了一个SelectableText,所以选择的时候,只能选择一个标签下的文字 是个问题同时,为了支持SelectableText,需要修改flutter下selectable_text的源码// assert(() {// return _controller._textSpan.visitChildren((InlineSpan span) => span.runtimeType == TextSpan);// }(), 'SelectableText only supports TextSpan; Other type of InlineSpan is not allowed');注释掉上边语句 509行
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: feature/inline-styles
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-06-30
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# flutter_html
[](https://pub.dev/packages/flutter_html)
[](https://codecov.io/gh/Sub6Resources/flutter_html)
[](https://circleci.com/gh/Sub6Resources/flutter_html)
[](https://github.com/Sub6Resources/flutter_html/blob/master/LICENSE)
A Flutter widget for rendering html and css as Flutter widgets.
## Installing:
Add the following to your `pubspec.yaml` file:
dependencies:
flutter_html: ^1.0.0-pre.1
## Currently Supported HTML Tags:
`a`, `abbr`, `acronym`, `address`, `article`, `aside`, `b`, `bdi`, `bdo`, `big`, `blockquote`, `body`, `br`, `caption`, `cite`, `code`, `data`, `dd`, `del`, `dfn`, `div`, `dl`, `dt`, `em`, `figcaption`, `figure`, `footer`, `h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `header`, `hr`, `i`, `img`, `ins`, `kbd`, `li`, `main`, `mark`, `nav`, `noscript`, `ol`, `p`, `pre`, `q`, `rp`, `rt`, `ruby`, `s`, `samp`, `section`, `small`, `span`, `strike`, `strong`, `sub`, `sup`, `table`, `tbody`, `td`, `template`, `tfoot`, `th`, `thead`, `time`, `tr`, `tt`, `u`, `ul`, `var`
## Currently Supported CSS Attributes:
> Coming soon!
### Elements with planned support:
See the [development roadmap](https://github.com/Sub6Resources/flutter_html/wiki/Roadmap) for the list of elements and css attributes I plan on supporting.
## Why this package?
This package is designed with simplicity in mind. Originally created to allow basic rendering of HTML content into the Flutter widget tree,
this project has expanded to include support for basic CSS styling (both inline and in the `