fillEmpty method

void fillEmpty(
  1. String color,
  2. String languageCode
)

It takes a color as a parameter, and then it calls the fill_empty function on the Scheme interpreter

Args: color (String): The color to fill the empty cells with.

Implementation

void fillEmpty(String color, String languageCode) {
  final String code = "fill_empty($color)";
  _interpreter.validateOnScheme(code, SchemasReader().currentIndex);
  validCommandsBuffer.add(code);
  allCommandsBuffer.addAll(parseToContainer(code, languageCode));
  notifyListeners();
}