PIbd-31_MasenkinMS_PMU/lib/view/dialogs/show_dialog.dart

13 lines
265 B
Dart
Raw Normal View History

2024-09-30 18:24:51 +04:00
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),
);
}