Comments (4)
Add --web-renderer html
will be successfully showing the image in web.
Example for VS code (launch.json
):
{
"version": "0.2.0",
"configurations": [
{
"name": "Flutter Web",
"type": "dart",
"request": "launch",
"program": "lib/main.dart",
"args": ["--web-renderer", "html"]
}
]
}
flutter/flutter#73109
https://flutter.dev/docs/development/tools/web-renderers
from flag_flutter.
I got same error in web (debug mode).
Would you try web in release mode? It's working in release mode.
I'm still working on this issue, but I have no idea so far.
from flag_flutter.
Add
--web-renderer html
will be successfully showing the image in web.Example for VS code (
launch.json
):{ "version": "0.2.0", "configurations": [ { "name": "Flutter Web", "type": "dart", "request": "launch", "program": "lib/main.dart", "args": ["--web-renderer", "html"] } ] }
flutter/flutter#73109 https://flutter.dev/docs/development/tools/web-renderers
DO i have to have the same configurations ?
from flag_flutter.
I was having the same issue, but when I entered my browser developer tools console, I saw that it failed to load the resource because the server was not providing the image. It worked fine when building for Android.
I hope it helps who is getting into this issue. Go to your browser console and whatever is preventing the image to be loaded may be there.
from flag_flutter.
Related Issues (20)
- Cannot push to repo some small changes HOT 3
- Can't find United Kingdom Flag HOT 3
- [Version: 6.0.0] Failed to find definition for #a HOT 2
- Exception when drawing Peru flag HOT 1
- Issue with JP flag rendering, along some others, in 6.0.0
- FormatException with Malta 4x3 svg HOT 1
- Sri lanka Flag not Show for LK HOT 2
- Alpha-3 code HOT 1
- Argentina's flag issue HOT 10
- Const
- CAUGHT AN EXCEPTION WHILE USING THE FLAG PACKAGE FOR FLUTTER APP HOT 4
- FormatException("Invalid double", source) HOT 6
- Update flag_flutter version HOT 17
- No serbian flag? HOT 1
- Several icons fail to load with error: Bad state: Expected to find Drawable with id HOT 1
- Brazil flag not working HOT 1
- Some flags are not working in Flutter HOT 3
- Nepali flag has weird image
- Error while trying to load an asset: Flutter Web engine failed to fetch "assets/packages/flag/res/4x3/de.svg". HTTP request succeeded, but the server responded with HTTP status 404.
- Error: Couldn't resolve the package 'flag' in 'package:flag/flag.dart'.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flag_flutter.