show method

void show(
  1. dynamic error, {
  2. required BuildContext context,
})

Implementation

void show(var error, {required BuildContext context}) {
  showDialog(
      context: context,
      builder: (_) {
        return CustomErrorDialog(
          error: error.toString(),
        );
      });
}