show<T> static method

Future<T?> show<T>(
  1. BuildContext context, {
  2. Key? key,
  3. bool barrierDismissible = false,
  4. required DigitSyncDialogType type,
  5. String? label,
  6. DigitDialogActions? primaryAction,
  7. DigitDialogActions? secondaryAction,
})

Implementation

static Future<T?> show<T>(
  BuildContext context, {
  Key? key,
  bool barrierDismissible = false,
  required DigitSyncDialogType type, String? label,
  DigitDialogActions? primaryAction,
  DigitDialogActions? secondaryAction,
}) async {
  return await DigitDialog.show<T>(
    context,
    options: getDigitDialog(
      type: type,
      label: label,
      barrierDismissible: barrierDismissible,
      key: key,
      primaryAction: primaryAction,
      secondaryAction: secondaryAction,
    ),
  );
}