onSelect method
override
    It's a function that takes no arguments and returns nothing.
Implementation
@override
void onSelect() {
  widget.state.setState(() {
    widget.state.selectionButtonKey.currentState?.deSelect();
    widget.state.widget.selectionMode.value = SelectionModes.repeat;
  });
  CatLogger().addLog(
    context: context,
    previousCommand: "",
    currentCommand: "copy commands",
    description: CatLoggingLevel.buttonSelect,
  );
}