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
Describe the bug
If I use duration property, then I have exception testing my widget that uses Flushbar for displaying error message.
Timer needs to be canceled on dispose.
The following assertion was thrown running a test:
A Timer is still pending even after the widget tree was disposed.
'package:flutter_test/src/binding.dart':
Failed assertion: line 1241 pos 12: '!timersPending'
The text was updated successfully, but these errors were encountered:
Describe the bug
If I use duration property, then I have exception testing my widget that uses Flushbar for displaying error message.
Timer needs to be canceled on dispose.
The text was updated successfully, but these errors were encountered: