onIcon method

  1. @override
Widget? onIcon()
override

The icon is used for this button

Implementation

@override
Widget? onIcon() => null;