icon property

IconData? icon
final

icon is of type IconData. The icon is displayed along with the text on MBButton. Since this is a required field, there is no default value for it.

Implementation

final IconData? icon;