We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ccce6 commit 14a9461Copy full SHA for 14a9461
lib/html_parser.dart
@@ -800,7 +800,7 @@ class StyledText extends StatelessWidget {
800
}
801
802
double calculateWidth(Display display, RenderContext context) {
803
- if ((display == Display.BLOCK || display == Display.LIST_ITEM) && renderContext.parser.shrinkWrap != true) {
+ if ((display == Display.BLOCK || display == Display.LIST_ITEM) && !renderContext.parser.shrinkWrap) {
804
return double.infinity;
805
806
if (renderContext.parser.shrinkWrap) {
0 commit comments