openDialog method

Future<void> openDialog(
  1. BuildContext context, {
  2. required AppModel app,
  3. required String id,
  4. Map<String, dynamic>? parameters,
})

Implementation

Future<void> openDialog(BuildContext context,
    {required AppModel app,
    required String id,
    Map<String, dynamic>? parameters}) async {
  openWidgetDialog(app, context, '${app.documentID}/$id',
      child: DialogComponent(app: app, dialogId: id, parameters: parameters));
}