Skip to content

Commit aa56c60

Browse files
author
Nguyen Dat
committed
add overflow in text
1 parent bf70b7c commit aa56c60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/html_parser.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,7 @@ class StyledText extends StatelessWidget {
788788
textDirection: style.direction,
789789
textScaleFactor: textScaleFactor,
790790
maxLines: style.maxLine,
791+
overflow: TextOverflow.ellipsis,
791792
),
792793
);
793794
}

0 commit comments

Comments
 (0)