prefixIcon property

IconData? prefixIcon
final

The prefixIcon parameter specifies the icon to be displayed before the button text.

Implementation

final IconData? prefixIcon;