onDismiss method

  1. @override
void onDismiss()
override

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

Implementation

@override
void onDismiss() {
  widget.state.copyButtonSecondaryKey.currentState?.select();
  CatLogger().addLog(
    context: context,
    previousCommand: "",
    currentCommand: "copy",
    description: CatLoggingLevel.buttonDismiss,
  );
}