onError property

Color onError

Implementation

Color get onError {
  final chrome = [foreground, background];
  return chrome.farthestFrom(error);
}