onPrimary property

Color onPrimary

Implementation

Color get onPrimary {
  final chrome = [foreground, background];
  return _primary ?? chrome.farthestFrom(primary);
}