13 lines
265 B
Dart
13 lines
265 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
import 'package:pmu_labworks/view/dialogs/error_dialog.dart';
|
||
|
|
||
|
void showErrorDialog(
|
||
|
BuildContext context, {
|
||
|
required String? error,
|
||
|
}) {
|
||
|
showDialog(
|
||
|
context: context,
|
||
|
builder: (_) => ErrorDialog(error),
|
||
|
);
|
||
|
}
|