Skip to content

Commit fd978ab

Browse files
committed
Update README to include supported inline styles
1 parent e54a758 commit fd978ab

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ A Flutter widget for rendering HTML and CSS as Flutter widgets.
2727

2828
- [Currently Supported CSS Attributes](#currently-supported-css-attributes)
2929

30+
- [Currently Supported Inline CSS Attributes](#currently-supported-inline-css-attributes)
31+
3032
- [Why flutter_html?](#why-this-package)
3133

3234
- [API Reference](#api-reference)
@@ -122,6 +124,13 @@ Add the following to your `pubspec.yaml` file:
122124
|`padding` | `margin`| `text-align`| `text-decoration`| `text-decoration-color`| `text-decoration-style`| `text-decoration-thickness`|
123125
|`text-shadow` | `vertical-align`| `white-space`| `width` | `word-spacing`| | |
124126

127+
## Currently Supported Inline CSS Attributes:
128+
| | | | | | | |
129+
|------------------|--------|------------|----------|--------------|------------------------|------------|
130+
|`background-color`| `border` | `color`| `direction`| `display`| `font-family`| `font-feature-settings` |
131+
| `font-size`|`font-style` | `font-weight`| `line-height` | `list-style-type` | `list-style-position`|`padding` |
132+
| `margin`| `text-align`| `text-decoration`| `text-decoration-color`| `text-decoration-style`| `text-shadow` | |
133+
125134
Don't see a tag or attribute you need? File a feature request or contribute to the project!
126135

127136
## Why this package?

0 commit comments

Comments
 (0)