show static method

Future<String?> show(
  1. BuildContext context, {
  2. AskStringDialogParams? params,
})

Edit your dart document comments here

x Support markdown syntax

 val hello = "world";

void doPrint() {
  print(hello);
}

xxx

Implementation

static Future<String?> show(BuildContext context, {AskStringDialogParams? params}) async {
  return await showCupertinoDialog<String?>(
      context: context,
      builder: (_) => AskStringDialog(
            params: params ?? const AskStringDialogParams(),
          ));
}