修改Toast默认不透明度为1.0, 抽离slide_dialog

This commit is contained in:
KoolShow
2023-12-29 14:41:06 +08:00
parent 10158a7022
commit c928037e08
4 changed files with 86 additions and 49 deletions

View File

@ -11,7 +11,7 @@ class CustomToast extends StatelessWidget {
@override
Widget build(BuildContext context) {
double toastOpacity =
setting.get(SettingBoxKey.defaultToastOp, defaultValue: 0.8);
setting.get(SettingBoxKey.defaultToastOp, defaultValue: 1.0);
return Container(
margin:
EdgeInsets.only(bottom: MediaQuery.of(context).padding.bottom + 30),