validColor method
Implementation
Color validColor() {
if (this.valid == true) return Colors.green;
if (this.valid == null) return Colors.orange;
return Colors.red;
}
Color validColor() {
if (this.valid == true) return Colors.green;
if (this.valid == null) return Colors.orange;
return Colors.red;
}