setBackgroundColor method

void setBackgroundColor(
  1. Color color
)

Set Background Color

Implementation

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