getTextPainter method

dynamic getTextPainter(
  1. String text
)

Implementation

getTextPainter(String text) => TextPainter(
      text: TextSpan(
        text: "$text",
        style: TextStyle(color: chartColors.defaultTextColor, fontSize: 10),
      ),
      textDirection: TextDirection.ltr,
    );