openIt static method

Future<void> openIt(
  1. AppModel app,
  2. BuildContext context,
  3. PostModel model,
  4. EditorFeedback editorFeedback, {
  5. AddMediaHtml? addMediaHtml,
})

Implementation

static Future<void> openIt(
  AppModel app,
  BuildContext context,
  PostModel model,
  EditorFeedback editorFeedback, {
  AddMediaHtml? addMediaHtml,
}) async {
  await openComplexDialog(
    app,
    context,
    '${app.documentID}/html_components',
    title: 'Images and Videos',
    includeHeading: false,
    widthFraction: .9,
    child: getWidget(app, context, model, editorFeedback,
        addMediaHtml: addMediaHtml),
  );
}