You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm having a problem with my tests, when I use a flushbar that contains an icon my test fail. The test is comparing the message/string of the flushbar. The key is inside the a text widget, the icon shouldn't be a problem, but when I run the test without the icon the test pass.
The test fails saying that it couldn't get the element.
I created a project to try to isolate the problem, when I use an icon in the flushbar the test fails, somehow the icon is interfering with the test.
here's the projetct link: https://github.com/RafaelR7/flushbar-poc
Hi, I'm having a problem with my tests, when I use a flushbar that contains an icon my test fail. The test is comparing the message/string of the flushbar. The key is inside the a text widget, the icon shouldn't be a problem, but when I run the test without the icon the test pass.
The test fails saying that it couldn't get the element.
Flushbar( margin: EdgeInsets.all(8), borderRadius: 8, icon: Icon( Icons.error_outline, size: 28.0, color: Colors.white, ), forwardAnimationCurve: Curves.fastLinearToSlowEaseIn, reverseAnimationCurve: Curves.decelerate, messageText: Text( message, style: Styles.snackbarText, key: key, ), onStatusChanged: (FlushbarStatus status) { flushbarStatus = status; }, backgroundColor: Styles.error, duration: Duration(milliseconds: 1500), )..show(context);
The text was updated successfully, but these errors were encountered: