dialog function
dynamic
dialog({})
Implementation
dialog(
{required String title,
TextStyle? titleStyle,
required String msg,
TextStyle? msgStyle,
required List<String> btnTitles,
Color? btnHighLightColor,
Color? btnDefaultColor,
double? btnFontSize,
required ValueChanged<int> onSelected,
double? maxWidth}) {
dialogContent(
title: title,
titleStyle: titleStyle,
content: Text(msg,
style: msgStyle ??
TextStyle(
fontSize: fontSizes.s15, color: const Color(0xFF808080))),
btnTitles: btnTitles,
onSelected: onSelected,
btnHighLightColor: btnHighLightColor,
btnDefaultColor: btnDefaultColor,
btnFontSize: btnFontSize,
maxWidth: maxWidth);
}