highlightColor property

set highlightColor (Color color)

Implementation

set highlightColor(Color color) {
  if (_latest is Theme) {
    final theme = (_latest as Theme).data.copyWith(highlightColor: color);

    _replace(
      (w) => Theme(
        child: w,
        data: theme,
      ),
    );
  } else
    _add(
      (w) => Theme(
        child: w,
        data: ThemeData(highlightColor: color),
      ),
    );
}