show<T> static method
Future<T?>
show<T>(
- BuildContext context, {
- Key? key,
- bool barrierDismissible = false,
- required DigitSyncDialogType type,
- String? label,
- DigitDialogActions? primaryAction,
- 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,
),
);
}