在performLayout 方法中, TextPainter 经过 layout 就可以知道当前文本是否有溢出。 final Size textSize = _textPainter.size; final bool ...
確定! 回上一頁