We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba5f3b9 commit dec2b05Copy full SHA for dec2b05
lib/src/html_stylist.dart
@@ -128,7 +128,7 @@ class HTML {
128
TextAlign? textAlign,
129
}) {
130
return RichText(
131
- textAlign: TextAlign.left,
+ textAlign: textAlign ?? TextAlign.left,
132
text: toTextSpan(
133
context,
134
htmlContent,
pubspec.yaml
@@ -1,6 +1,6 @@
1
name: simple_html_css
2
description: This package allows you to use simple HTML and inline CSS styles to style your text in flutter. A fork of css_text package.
3
-version: 3.0.1+3
+version: 3.0.1+4
4
homepage: https://github.com/ali-thowfeek/simple_html_css_flutter
5
repository: https://github.com/ali-thowfeek/simple_html_css_flutter
6
environment:
0 commit comments