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
Thanks for the great package, really handy, there's just one issue I currently have which is that I run into issues when using widget tests that include using the library.
It'd be great is there was some 'init' option which just mocks the whole thing as at the moment the hive database causes the following error: No implementation found for method getApplicationDocumentsDirectory
The text was updated successfully, but these errors were encountered:
The init has trouble because it's not on a platform and I think causes issues initializing hive.
Before using the package I could use https://pub.dev/packages/mocktail_image_network to mock images for tests (it instead of trying to load an image, just returns a transparent pixel), but with FastCachedNetworkImage it won't work without the .init call, but that doesn't work.
My thought was maybe there could be an init that's a mock that doesn't really do anything and then the FastCachedNetworkImage could do similar to the mocktail image network and not really make a network call and just return an empty image
Hi
Thanks for the great package, really handy, there's just one issue I currently have which is that I run into issues when using widget tests that include using the library.
It'd be great is there was some 'init' option which just mocks the whole thing as at the moment the hive database causes the following error:
No implementation found for method getApplicationDocumentsDirectory
The text was updated successfully, but these errors were encountered: