David PHAM-VAN

Fix Text alignment

# Changelog
## 1.3.22
- Fix Text alignment
## 1.3.21
- Add TextDecoration
... ...
... ... @@ -530,7 +530,8 @@ class RichText extends Widget {
spanStart += spanCount;
decorationStart = _decorations.length;
if (maxLines != null && ++lines > maxLines) {
lines++;
if (maxLines != null && lines > maxLines) {
break;
}
... ... @@ -603,7 +604,8 @@ class RichText extends Widget {
);
}
if (maxLines != null && ++lines > maxLines) {
lines++;
if (maxLines != null && lines > maxLines) {
break;
}
... ... @@ -651,7 +653,8 @@ class RichText extends Widget {
spanStart += spanCount;
decorationStart = _decorations.length;
if (maxLines != null && ++lines > maxLines) {
lines++;
if (maxLines != null && lines > maxLines) {
return false;
}
... ...
... ... @@ -4,7 +4,7 @@ description: A pdf producer for Dart. It can create pdf files for both web or fl
homepage: https://github.com/DavBfr/dart_pdf/tree/master/pdf
repository: https://github.com/DavBfr/dart_pdf
issue_tracker: https://github.com/DavBfr/dart_pdf/issues
version: 1.3.21
version: 1.3.22
environment:
sdk: ">=2.1.0 <3.0.0"
... ...