Relative Content

Tag Archive for flutterdarttestingbloc

Flutter widget testing with Bloc Pattern

So I have a requirement where I need to test my widget’s UI as perfect as possible. I am using clean architecture with Bloc pattern, but keep failing some of my test cases.
In some cases, where I emit a loading state and my loader dialog is visible and then when I emit a success state my success UI should be build, I am not finding my widget from my testcase.