PrimeAssets typedef
PrimeAssets =
Future<void> Function(WidgetTester tester)
A function that primes all needed assets for the given tester
.
For ready to use implementations see:
- legacyPrimeAssets, which is the default PrimeAssets used by the global configuration by default.
- defaultPrimeAssets, which just waits for all Image widgets in the widget tree to finish decoding.
Implementation
typedef PrimeAssets = Future<void> Function(WidgetTester tester);