fix: minor bugs

This commit is contained in:
problematicconsumer
2023-09-18 14:01:44 +03:30
parent 2cd5a9fd0a
commit 921636a091
10 changed files with 157 additions and 21 deletions

View File

@@ -104,8 +104,8 @@ class CustomToast extends StatelessWidget {
}
void show(BuildContext context) {
FToast().init(context);
FToast().showToast(
final fToast = FToast().init(context);
fToast.showToast(
child: this,
gravity: ToastGravity.BOTTOM,
toastDuration: duration,