Is there a way to control line spacing on text wrap?
(also, as an aside, exactly when text will wrap and when it won't has been confusing to me)
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To post to this group, send email to flutt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/4513e35d-4c7a-4235-b596-4af820730bc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'll create issues when I run into it in the future.Is there guidance on when to use TextSpan versus Text widgets? I've been using Text, but the conversation went immediately to TextSpan, making me think that's the preferred widget for normal use..
Does Text behave exactly the same as TextSpan if the TextSpan has no children?
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/0b08efe7-5e34-4ae6-a885-4d0e33b7a964%40googlegroups.com.
OK, here's an example of Text wrapping (or rather text not wrapping) driving me nuts.I'm trying to do something seemingly straightforward: center an icon/text couplet where the text may be more than one line and may be any size.
I try a bunch of combos (Row, Flexible, Center, etc) and nothing works. Either I get the red overflow boxes of misery or I get the Text expanding and kicking the icon out away from it. Or sometimes I get an exception when flex encounters an unbounded width.There's got to be an easy way to do this that I'm just overlooking.I'm going to try putting them both in a Stack next and see if I can center that while getting the wrapping to work. But that seems like a hack... Please help!
On Friday, April 22, 2016 at 10:28:52 AM UTC-4, robbi...@gmail.com wrote:Is there a way to control line spacing on text wrap?(also, as an aside, exactly when text will wrap and when it won't has been confusing to me)
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To post to this group, send email to flutt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/ba125b3f-7668-4c05-ad82-d30c3475ac54%40googlegroups.com.