Reputation: 1
I'm trying to create a custom text editor, where the spacing above and below a highlighted line of text can be changed, while the spacing for the rest of the text stays the same
I'm aware of the height property in the TextStyle widget but this applies to the entire text displayed
I've also tried adding a padding using a TextSpan/WidgetSpan widget but this only resulted in the textspan being misaligned with the default cursor position and the rest of the text
Upvotes: 0
Views: 31