andyduke / styled_text_package

Text widget with formatted text using tags. Makes it easier to use formatted text in multilingual applications.
https://pub.dev/packages/styled_text
BSD 3-Clause "New" or "Revised" License
74 stars 48 forks source link

DefaultTextHeightBehavior Issue #69

Closed hrithikM31 closed 1 year ago

hrithikM31 commented 1 year ago

Getting the issue: DefaultTextHeightBehavior.of() was called with a context that does not contain a DefaultTextHeightBehavior widget.

StyledText( text: widget.reqData.listing_name,overflow: TextOverflow.fade, style: themeData.textTheme.headline4!.copyWith(color: Colors.black))

andyduke commented 1 year ago

Please provide minimal code to reproduce this problem and show the output of flutter doctor -v.

gisborne commented 1 year ago

Latest version fixes it. Please close. Sorry for the trouble.

hrithikM31 commented 1 year ago

Yes its fixed. Thanks