any advantages of using this syntax :
ColoredBox( color: isValid ? Colors.green : Colors.red, );
instead of this ?
Colored