showBasicDialog function
Future<bool?>
showBasicDialog(
- BuildContext context, {
- required BasicDialogDelegate delegate,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(6)),
Implementation
Future<bool?> showBasicDialog(
BuildContext context, {
required BasicDialogDelegate delegate,
BorderRadius borderRadius = const BorderRadius.all(Radius.circular(6)),
}) async {
return showAdaptiveDialog<bool>(
context: context,
barrierDismissible: delegate.barrierDismissible,
builder: (context) => BasicDialog(
delegate: delegate,
canPop: delegate.barrierDismissible,
borderRadius: borderRadius,
),
);
}