style property

ButtonStyle? style

Customizes this icon button's appearance.

The style is only used for Material 3 IconButtons. If ThemeData.useMaterial3 is set to true, style is preferred for icon button customization, and any parameters defined in style will override the same parameters in IconButton.

Null by default.


final ButtonStyle? style;