Motion-Toast icon indicating copy to clipboard operation
Motion-Toast copied to clipboard

Black screen on pop

Open RawadZogheib opened this issue 1 year ago • 1 comments

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!!

RawadZogheib avatar Jan 21 '24 16:01 RawadZogheib

@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

koukibadr avatar Jan 21 '24 16:01 koukibadr