Adding minLines to Text is currently an open feature request. You can track it here
minLines
Text
For now, a suggested workaround is to use:
str = 'example'; Text( str + '\n', maxLines: 2, )
沒有留言:
發佈留言