JackJonson / flutter_styled_toast

A Styled Toast Flutter package.
Apache License 2.0
76 stars 42 forks source link

Issue when toast dismis. #26

Open Hero-rafter opened 2 years ago

Hero-rafter commented 2 years ago

After given time, when toast disappears, it is breaking at a point.

Screenshot 2022-05-19 at 1 53 16 PM

Refer this Screen shot.

Time1sM0ney commented 2 years ago

给定时间后,当吐司消失时,它会在某个点破裂。

截图 2022-05-19 在 1 53 16 PM

请参阅此屏幕截图。

i have the same problem.Have you solved the problem?

Hero-rafter commented 2 years ago

@coderlcb Actually we didn't get proper solution but in our code, there are two params animation and reverseAnimation, so what we can do is, don't pass same for these two arguments.

animation: StyledToastAnimation.fade, reverseAnimation: StyledToastAnimation.none,

Give value of these two as different. Don't keep is same.

Time1sM0ney commented 2 years ago

@coderlcb Actually we didn't get proper solution but in our code, there are two params animation and reverseAnimation, so what we can do is, don't pass same for these two arguments.

animation: StyledToastAnimation.fade, reverseAnimation: StyledToastAnimation.none,

Give value of these two as different. Don't keep is same.

thank you! that's exactly what I want!