show<T> static method
Implementation
static Future<T?> show<T>(
BuildContext context, {
required DigitDialogOptions options,
}) {
return showDialog<T>(
context: context,
barrierDismissible: options.barrierDismissible,
barrierColor: options.barrierColor ??
DigitTheme.instance.colors.black.withOpacity(0.7),
builder: (context) => PopScope(
canPop: options.barrierDismissible,
child: DigitDialog(
key: options.key,
options: options,
),
),
);
}