setBackgroundColor method
Set Background Color
Implementation
void setBackgroundColor(Color color) {
_backgroundColor = color;
_state?.refresh();
onChanged();
}
Set Background Color
void setBackgroundColor(Color color) {
_backgroundColor = color;
_state?.refresh();
onChanged();
}