auto_size_text icon indicating copy to clipboard operation
auto_size_text copied to clipboard

Adding customizable background color to the text

Open CEichmueller opened this issue 5 years ago • 1 comments

Hello, I would like to add a new customizable background to the auto_size_text widget. The background should be customizable in following ways.

  1. It should get a padding between the background border and the text
  2. It should get a border radius for the background edges.

Currently there is no flutter solution for it. Therefore I started writing a plugin, which does support this feature and extends not the normal text but your auto_size_text. Currently the new feature is under development. Following is the repo name: https://github.com/Letalus/auto_size_text_background

Do you think we can merge this package once its stable enough?

Here is an image from what I mean Screenshot 2020-12-21 at 15 37 21

CEichmueller avatar Dec 21 '20 14:12 CEichmueller

@Letalus have you created PR? I was looking for this feature but wasn't sure how i could use it.

ozexpert avatar Oct 19 '23 06:10 ozexpert