showConfirmationDialog function
- @Deprecated(''' showConfirmationDialog is deprecated. Use showConfirmationBottomSheet instead.''')
Shows confirmation dialog
Implementation
@Deprecated(
'''
showConfirmationDialog is deprecated.
Use showConfirmationBottomSheet instead.''',
)
Future<bool?> showConfirmationDialog(
BuildContext context, {
required String title,
required String okText,
Widget? icon,
String? question,
String? cancelText,
}) =>
showConfirmationBottomSheet(
context,
title: title,
okText: okText,
icon: icon,
question: question,
cancelText: cancelText,
);