splashColor property Null safety

Color? splashColor
final

The splash color for the button's InkWell.

If this property is null, then ToggleButtonTheme.of(context).splashColor is used. If ToggleButtonsThemeData.splashColor is also null, then Theme.of(context).splashColor is used.

Implementation

final Color? splashColor;