show_tutorial/utilities/ui_utils library
Functions
-
createTextPainter(
{required InlineSpan text, required TextAlign textAlign, required TextDirection textDirection, required double scale, int? maxLines, Locale? locale, StrutStyle? strutStyle}) → TextPainter -
getColor(
String? hexColor, double opacity) → Color? -
getDevicePixelRatio(
BuildContext context) → double -
getUserTextScaleFactor(
BuildContext context, double baseFontSize) → double -
isTextScalerSupported(
) → bool