color property
Color
color
Implementation
Color get color => shouldBeBlue
? Colors.blue.shade600
: (shouldBeRed ? Colors.red : Colors.green);
Color get color => shouldBeBlue
? Colors.blue.shade600
: (shouldBeRed ? Colors.red : Colors.green);