import 'package:ambito/src/widgets/dialogs/edit_entity_dialog/edit_area_dialog.dart';
import 'package:flutter/material.dart';

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

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