icon property

Widget? icon
final

You can use any widget here, but I recommend Icon or Image as indication of what kind of message you are displaying. Other widgets may break the layout

Implementation

final Widget? icon;