showDialg method

void showDialg(
  1. PanelKitDialogType type
)

Implementation

void showDialg(PanelKitDialogType type) {
  if (type == PanelKitDialogType.custom) {
    _dialog.showCustom(
      title: "aaaa",
      child: const SizedBox(
        height: 200,
        width: 200,
      ),
    );
  }
  if (type == PanelKitDialogType.confirmation) {
    _dialog.showConfirmation(
      title: "aaaa",
      description: "aaaa",
    );
  }
}