showProgressBar static method

CupertinoAlertDialog showProgressBar({
  1. String title = 'Processing',
  2. String message = 'Please wait ... !',
})

Implementation

static CupertinoAlertDialog showProgressBar(
    {final String title = 'Processing',
    final String message = 'Please wait ... !'}) {
  return CupertinoAlertDialog(
    title: Text(title),
    content: Row(children: <Widget>[
      const CircularProgressIndicator(),
      const SizedBox(width: 30),
      Text(message),
    ]),
  );
}