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
I am currently trying to write a test concerning a widget which includes Flag.getFlags(...)
when running the test for the first time i receive the error copied below. When the same test runs a second time (chronologically after the first) it seems to run through. How should i write tests with flag-widgets?
══╡ EXCEPTION CAUGHT BY SVG ╞═══════════════════════════════════════════════════════════════════════
The following assertion was thrown resolving a single-frame picture stream:
Unable to load asset: packages/flag/res/flag/de.svg
When the exception was thrown, this was the stack:
#0 PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:221:7)
@PMatthaei Good point. I never thought about this problem.
Would you share some test code so that I can better understand how to help you solve this problem?
I am currently trying to write a test concerning a widget which includes
Flag.getFlags(...)
when running the test for the first time i receive the error copied below. When the same test runs a second time (chronologically after the first) it seems to run through. How should i write tests with flag-widgets?
The text was updated successfully, but these errors were encountered: