Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen on pop #114

Open
RawadZogheib opened this issue Jan 21, 2024 · 1 comment
Open

Black screen on pop #114

RawadZogheib opened this issue Jan 21, 2024 · 1 comment
Assignees

Comments

@RawadZogheib
Copy link

MotionToast(
      dismissable: false,
      icon: Icons.error,
      primaryColor: CustomColors.red2,
      secondaryColor: CustomColors.red1,
      toastDuration: const Duration(seconds: 3),
      backgroundType: BackgroundType.solid,
      title: const Text(
        'Error',
        style: TextStyle(fontWeight: FontWeight.bold),
      ),
      description: Text(
        text ?? 'Unexpected Error.',
      ),
      position: MotionToastPosition.bottom,
      animationType: AnimationType.fromRight,
      height: 100,
      width: 350,
    ).show(context); 

When I click the back button on any android phone, I got a black screen (If I did it in the moment that my MotionToast timer arrive to his end), Knowing that the PopScope is set to canPop: false, and the dismissable: false. I getting this issue in all my projects!!

@koukibadr
Copy link
Owner

@RawadZogheib I just published a new version 2.8.0, update the motion toast package you have and let me know if the problem persist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants