customization for text background #66740
Labels
a: typography
Text rendering, possibly libtxt.
engine
flutter/engine repository. See also e: labels.
framework
flutter/packages/flutter repository. See also f: labels.
new feature
Nothing broken; request for a new capability.
P5
Priority 5 issue (default for new feature requests; things we'd like to work on)
passed first triage
tests are present, the PR follows the PR template, no obvious coding errors
proposal
A detailed proposal for a change to Flutter
would be a good package
Separate Flutter package should be made for this.
arjendevos commentedSep 26, 2020
Use case
My goal is to make a background with text like in Instagram stories or Tiktok. I can archive this if i wrap the text in a container but this doesn't work if i have multiple lines. The container becomes a box and doesn't wrap around the text as big the line is. So i used the background property of text. This however doesn't have any customization other than color.
Proposal
My proposel is to make 2 new features on the TextStyle from text widget. Padding and borderradius.
Here is the result i want to archive:

The text was updated successfully, but these errors were encountered: