defaultTextStyle method
Implementation
TextStyle defaultTextStyle(bool isOkayBtn) {
final textStyle = TextStyle(
color: isOkayBtn ? Colors.white : Colors.grey,
fontWeight: FontWeight.w600,
fontSize: 18.0,
);
if (isOkayBtn) {
return options.confirmBtnTextStyle ?? textStyle;
} else {
return options.cancelBtnTextStyle ?? textStyle;
}
}