openIt static method
Future<void>
openIt(
- AppModel app,
- BuildContext context,
- PostModel model,
- EditorFeedback editorFeedback, {
- 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),
);
}