showSubmitResponse function

void showSubmitResponse(
  1. String resp
)

Implementation

void showSubmitResponse(String resp) {
  showDialog(
    context: currentContext!,
    builder: (BuildContext context) {
      return Alerts(title: resp, actions: [
        TextButton(
            onPressed: () => Navigator.of(context).pop(),
            child: const Text('OK'))
      ]);
    },
  );
}