Search code examples
flutteruser-interfacegoogle-signin

Flutter Google sign in solid black line moving across the screen


I implemented Google sign-in with my Flutter application and everything works like a charm except the black solid line about 15 pixels in height and full-width that moves across the screen from top to bottom right after the successful sign-in takes place. Here is a GIF that demonstrates that. I recorded 3 seconds right after I chose from Google accounts on the device:

bug demonstration

How can I get rid of that line or that's 'expected' behavior? I couldn't find any information online about that except this question that has never been answered.


Solution

  • This is a know issue with several open threads. Please check the most recently active thread and there are some potential fix or workarounds given at the bottom that you may try : https://github.com/flutter/flutter/issues/48371

    Potential Workaround url : https://github.com/flutter/flutter/issues/48371#issuecomment-629549018