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