showOptionsDialog static method
Implementation
static Future<int?> showOptionsDialog(BuildContext context,
{String? title, String? subTitle, IconData? icon, Color? iconColor, Color? optionsColor, required List<String> options}) {
return showCustomDialog<int?>(
context,
OptionsDialog(
title: title,
subTitle: subTitle,
icon: icon == null
? null
: Icon(
icon,
size: 70,
color: iconColor?? Theme.of(context).primaryColor,
),
//iconColor: iconColor,
optionsColor: optionsColor,
options: options,
),
);
}