onIcon method

Widget? onIcon()

The icon is used for this button

Implementation

Widget? onIcon() => inIcon == null ? null : inIcon!();