onDismiss method

  1. @override
void onDismiss()
override

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

Implementation

@override
void onDismiss() {
  for (final CrossButton i in widget.state.widget.selectedButtons.value) {
    i.unSelect();
  }
  widget.state.widget.selectedButtons.value.clear();
  widget.state.widget.selectionMode.value = SelectionModes.transition;
  CatLogger().addLog(
    context: context,
    previousCommand: "",
    currentCommand: "cells mirror vertical",
    description: CatLoggingLevel.buttonDismiss,
  );
  super.deSelect();
}