onSelect method

  1. @override
void onSelect()
override

It's a function that takes no arguments and returns nothing.

Implementation

@override
void onSelect() {
  for (final CrossButton i in widget.state.widget.selectedButtons.value) {
    i.unSelect();
  }
  widget.state.widget.selectedButtons.value.clear();
  widget.state.mirrorHorizontalButtonKeySecondary.currentState?.deSelect();
  widget.state.mirrorVerticalButtonKeySecondary.currentState?.deSelect();
  widget.state.widget.selectionMode.value = SelectionModes.selectCopyCells;
  CatLogger().addLog(
    context: context,
    previousCommand: "",
    currentCommand: "copy",
    description: CatLoggingLevel.buttonSelect,
  );
}