splashColor property
set
splashColor
(Color color)
Implementation
set splashColor(Color color) {
if (_latest is Theme) {
final theme = (_latest as Theme).data.copyWith(splashColor: color);
_replace(
(w) => Theme(
child: w,
data: theme,
),
);
} else
_add(
(w) => Theme(
child: w,
data: ThemeData(splashColor: color),
),
);
}