show static method

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

Implementation

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