SelectableText widget not take changes from field textHeightBehavior

39 views Asked by At

I need to change my height behavior for bubble message of a chat.

regular Text widget works as expected:
TextWidgetExample
remove top height from the first line of a text, but SelectableText ignore that field:
SelectableTextExample

textHeightBehavior: const TextHeightBehavior(applyHeightToFirstAscent: false)

Mb someone know what the cause? Or this is a bug of Flutter?

0

There are 0 answers