showToast function
author: zhengzaihong email:1096877329@qq.com date: 2025-12-01 time: 14:36 describe: 吐司提示
Implementation
void showToast({required BuildContext context,required String msg,int showTime = 2000}) {
if (StrUtils.isEmpty(msg)) {
return;
}
Toast.show(msg,context: context,showTime: showTime);
}