import 'package:flutter/material.dart';

import 'edit_area_notice_dialog.dart';

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

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