draw/draw_text library

Functions

draw_text(Image image, TextStyle textStyle, String text, {int? x, int? y}) Future<Image>
Draw a string into image at position x,y with the given textStyle. If x is not specified, the string will be centered horizontally. If y is not specified, the string will be centered vertically.