2022年12月4日星期日

text min Lines

 Adding minLines to Text is currently an open feature request. You can track it here

For now, a suggested workaround is to use:

str = 'example'; 

Text(
  str + '\n',
  maxLines: 2,
)

沒有留言:

發佈留言