format method

  1. @override
TextPainterTextElement format(
  1. String text
)
override

Implementation

@override
TextPainterTextElement format(String text) {
  final tp = toTextPainter(text);
  return TextPainterTextElement(tp);
}