import 'package:ambito/src/widgets/dialogs/delete_entity/delete_area_dialog.dart';
import 'package:flutter/material.dart';

class DeleteEntityDialog {
  static Future<dynamic> show(
      {required BuildContext context,
      required String type,
      required int id}) async {
    Map<String, dynamic> dialogs = {
      'area': DeleteAreaDialog,
    };

    return await showDialog<String>(
      context: context,
      builder: (BuildContext context) => DeleteAreaDialog(id: id),
    );
  }
}
