showSelection method
void
showSelection({
- required AlertType type,
- required String title,
- required String description,
- required String leftText,
- required String rightText,
- VoidCallback? onLeft,
- VoidCallback? onRight,
- AlertTheme? theme,
Implementation
void showSelection({
required AlertType type,
required String title,
required String description,
required String leftText,
required String rightText,
VoidCallback? onLeft,
VoidCallback? onRight,
AlertTheme? theme,
}) {
OverlayService().show(
SelectionDialogWidget(
config: SelectionConfig(
type: type,
title: title,
description: description,
leftText: leftText,
rightText: rightText,
onLeft: onLeft,
onRight: onRight,
theme: theme,
),
),
);
}