splashColor property

Color? splashColor
final

Defines the splash color of the IconButton.

If ThemeData.useMaterial3 is true, this field will be ignored, as IconButton.splashColor will be ignored, and you should use highlightColor instead.

Defaults to ThemeData.splashColor.

Implementation

final Color? splashColor;