icon property

Widget? icon
final

If provided, the icon is used for this button

Implementation

final Widget? icon;