prefix property

Widget? prefix
final

to add the icon to the left of the text, you can add a widget in this

Implementation

final Widget? prefix;