changeColor method

void changeColor(
  1. Color color
)

Implementation

void changeColor(Color color) {
  cardColor.value = color;
}