You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the property shrinkToFit from the old RichText parser is not supported anymore in latest version 1.0.0, but it wasn't mentioned in the migration guide.
I'm still quite new user of this library, what is the best way to avoid having the Html widget using a double.infinity width ?
Maybe would it make sense to add back support for this property shrinkToFit in the SizeBox to avoid having double.infinity?
@Digoun That would definitely cause a problem for apps where a width of double.infinity could cause the Flutter's layout builder to crash.
Although I am the current maintainer, I am quite new to the library as well. After a bit of research into Flutter's SizedBox looks like this bit of code you provided would work, but I would need to go and take a look and see if it would break anything. If it doesn't, I think this bit of code could be implemented pretty easily.
It seems the property shrinkToFit from the old RichText parser is not supported anymore in latest version 1.0.0, but it wasn't mentioned in the migration guide.
I'm still quite new user of this library, what is the best way to avoid having the Html widget using a
double.infinity
width ?Maybe would it make sense to add back support for this property shrinkToFit in the SizeBox to avoid having double.infinity?
Something in that mind maybe:
Thanks in advance for your suggestions.
The text was updated successfully, but these errors were encountered: