updateColor method

void updateColor(
  1. Color newColor
)

Updates the group's color.

The color affects both the header bar (solid) and background (translucent).

Implementation

void updateColor(Color newColor) {
  runInAction(() {
    _observableColor.value = newColor;
  });
}