-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
🐞 Bug
First, thank you for this package :)
Description
Softwrap is not effective for a RichText in a Row
To Reproduce
Steps to reproduce the behavior:
- Add ThisThis like this:
TypeThis(
string: 'This is my super text and it is too long for the mobile screen width',
),
- See "A RenderFlex overflowed..." exception
Expected behavior
Have an effective softWrap
Operating System:
Android emulator
Android 14.0 (API 34)
Flutter 3.16.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 41456452f2 (7 weeks ago) • 2024-01-25 10:06:23 -0800
Engine • revision f40e976bed
Tools • Dart 3.2.6 • DevTools 2.28.5
Solution
Use an Expanded widget around the RichText inside the Row
Metadata
Metadata
Assignees
Labels
No labels