focusColor property

set focusColor (Color color)

Implementation

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

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