getTextPainter method

TextPainter getTextPainter(
  1. String text, [
  2. Color color = Colors.white
])

Implementation

TextPainter getTextPainter(String text, [Color color = Colors.white]) => TextPainter(text: TextSpan(text: "$text", style: TextStyle(color: color, fontSize: 10, fontFamily: DEFAULT_FONT_FAMILY)), textDirection: TextDirection.ltr);