13 lines
273 B
Dart
Raw Normal View History

2024-12-11 12:04:34 +04:00
import 'package:flutter/material.dart';
import 'package:flutter_labs/presentation/dialogs/error_dialog.dart';
void showErrorDialog(
2024-12-19 15:41:03 +04:00
BuildContext context, {
required String? error,
}) {
2024-12-11 12:04:34 +04:00
showDialog(
context: context,
builder: (_) => ErrorDialog(error),
);
2024-12-19 15:41:03 +04:00
}