flutter_image_test_utils library

Classes

FakeHttpHeaders

Functions

provideMockedNetworkImages<T>(T callback(), {List<int> imageBytes = fakeImageBytes}) → T
Provides a mock HTTP client that responds with a fake image for all requests. Wrap your test body with this function, for example: