getTwo static method
Color?
getTwo({
- Brightness? brightness,
- Color? color,
- BuildContext? context,
- bool nullable = false,
- bool modifyGlobal = false,
Implementation
static Color? getTwo(
{Brightness? brightness,
Color? color,
BuildContext? context,
bool nullable = false,
bool modifyGlobal = false}) {
var _color = getColor(
brightness: brightness,
context: context,
light: textColorTwo,
dark: white,
color: color,
nullable: nullable,
);
if (color == null) {
if (modifyGlobal) {
cTextColorTwo = _color;
} else {
cTextColorTwo ??= _color;
}
}
return _color;
}