icon property

Widget? icon
final

Custom icon for the button (optional).

Implementation

final Widget? icon;