onBackground property
TextStyle
onBackground
Implementation
TextStyle get onBackground {
assert(WiredashThemeData(primaryTextOnBackgroundColor: _anyColor).isLight);
assert(
WiredashThemeData(secondaryTextOnBackgroundColor: _anyColor).isLight,
);
_debugCheckNoColor(
instead:
"primaryTextOnBackgroundColor and secondaryTextOnBackgroundColor",
);
return textStyle.copyWith(
color: _mutateColor(theme.primaryTextOnBackgroundColor),
);
}