splashColor property

Color? splashColor
final

Defines the splash color of the panel if canTapOnHeader is true, or the splash color of the expand/collapse IconButton if canTapOnHeader is false.

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

If this is null, then the icon button will use its default splash color ThemeData.splashColor, and the panel will use its default splash color ThemeData.splashColor (if canTapOnHeader is true).

Implementation

final Color? splashColor;