fonts/optical_font_size library
Functions
-
iconSizeFor(
TextStyle style) → double -
Icon size that matches the letters of
stylein every font: the requestedFontSize ofstyle. -
opticallyMatchedFontSize(
{required double referenceFontSize, required String? referenceFontFamily, required String? fontFamily}) → double -
Font size at which
fontFamilylooks as large asreferenceFontFamilydoes atreferenceFontSize. -
requestedFontSize(
TextStyle style) → double -
The font size of
stylebefore libmonet's size equalizer scaled it.