Error dissmising toast
Hi, I don't know if it's an error or that it's not in the functionality, but I would like to know if it's possible or if it's a bug. When displaying a toast, the app stops working until the toast disappears. Yes the property dissmisable works, which makes that if you click on the toast disappears, but I would like that if I touch on another site of my application, the toast disappears or at least still being able to use the application, but in this case, it remains frozen until the toast disappears.
Thank you!
My code:
MotionToast.success(
description: const Text('Notification deleted'),
position: MotionToastPosition.bottom,
dismissable: true,
).show(context)
thanks for your feedback @varodpg this already an ongoing task I'll push it to pub.dev in the next release
any update?
@Elevencode @varodpg new version is published resolving this issue check it out v2.12.0
Hi @koukibadr ! Thanks for the effort but i'm having a compilation error with the new version:
../../.pub-cache/hosted/pub.dev/motion_toast-2.12.0/lib/widgets/motion_toast_background.dart:27:32: Error: The method 'withValues' isn't defined for the class 'Color'.
- 'Color' is from 'dart:ui'.
Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
color: backgroundColor.withValues(
Can you check it? Thanks!!
Okay I'll check it sure
@varodpg I've published a new version fix this compilation error v2.12.1
Thank you very much!! Works perfect!