TextPainter constructor

const TextPainter({
  1. required String text,
})

Implementation

const TextPainter({required this.text});