iconComponent property

Widget? iconComponent
final

A custom widget to display in place of the default icon component when the button is inactive.

Implementation

final Widget? iconComponent;