open static method
void
open(
- BuildContext context,
- AppModel app,
- String ownerId,
- String title,
- UpdatedHtml updatedHtml,
- String initialValue,
- bool isWeb, {
- List<
Widget> ? extraIcons, - required MediaAction? mediaAction,
Implementation
static void open(
BuildContext context,
AppModel app,
String ownerId,
String title,
UpdatedHtml updatedHtml,
String initialValue,
bool isWeb, {
List<Widget>? extraIcons,
required MediaAction? mediaAction,
}) {
if (initialValue.isEmpty) {
initialValue = ' ';
}
StyleRegistry.registry()
.styleWithApp(app)
.frontEndStyle()
.dialogStyle()
.openWidgetDialog(app, context, '${app.documentID}/html',
child: HtmlTextDialog(
title: title,
updatedHtml: updatedHtml,
initialValue: initialValue,
app: app,
ownerId: ownerId,
isWeb: isWeb,
extraIcons: extraIcons,
mediaAction: mediaAction));
}