show static method

Future<InsertHtmlResult?> show(
  1. BuildContext context, {
  2. String title = 'Insert HTML',
})

Shows the dialog and returns the result.

Implementation

static Future<InsertHtmlResult?> show(
  BuildContext context, {
  String title = 'Insert HTML',
}) {
  return showDialog<InsertHtmlResult>(
    context: context,
    builder: (context) => PointerInterceptor(
      child: InsertHtmlDialog(title: title),
    ),
  );
}