seekbar/get_text_width library
Functions
-
getParagraph(
{String text = "", double fontsize = 0, Color textColor = const Color.fromARGB(0, 0, 0, 0), Size textSize = Size.zero}) → Paragraph - 生成一个字体的形状,来画出来
-
getTextWidth(
{String text = "", double fontsize = 0}) → Size - 获取字体的宽高,放在size中