minCharSize property
Size
get
minCharSize
Implementation
Size get minCharSize {
TextStyle textStyle = TextStyle(
fontFamilyFallback: renderStyle.fontFamily,
fontSize: renderStyle.fontSize.computedValue,
textBaseline: CSSText.getTextBaseLine(),
package: CSSText.getFontPackage(),
locale: CSSText.getLocale(),
);
TextPainter painter = TextPainter(
text: TextSpan(
text: ' ',
style: textStyle,
),
textDirection: TextDirection.ltr
);
painter.layout();
return painter.size;
}