Questions tagged [flutter-image]

Anything that relates to handle images in Flutter, commonly the usage for Flutter Image component.

Image is a very important part of Flutter, it provides the ability to handle image display, encoding/decoding, and processing.

286 questions
0
votes
1 answer

App crashing when image url failed in flutter

Exception caught by package:flutter_image ═════════════════════════════════════════════════ The following FetchFailure was thrown NetworkImageWithRetry failed to load…
Midhilaj
  • 4,905
  • 9
  • 45
  • 88
0
votes
3 answers

Asset images File path in flutter?

I wanted to ship an app with pre-populated Sqflite database(which can be modified by user). I have added like 100 images as assets and need to read them as File Images instead of asset images (so it will easy to read & load the images in different…
sharath
  • 91
  • 3
  • 6
0
votes
0 answers

NetworkImage error Could not instantiate image code

So what I'm doing is I'm fetching data from an API and it provides an array with the image path in it. I'm using NetworkImage to show the image. It looks like this: FadeInImage( image:…
nerdy kid
  • 371
  • 1
  • 3
  • 14
0
votes
1 answer

Is it possible to put a List of assets inside a single Image Widget?

I'm new to flutter and I'm very adventurous when it comes to discovering its hidden potential. I've tried a number of ways to implement what I want and I can't find the most effective way. First, for example, I have a List imagePath =…
nerdy kid
  • 371
  • 1
  • 3
  • 14
0
votes
1 answer

Image widget: the height does not match the parent

I am an Android developer and I am trying to develop a very simple application in order to discover Flutter. I would like to create a list with very simple cells. A card with: on the left an image with a fixed width. The height should match the…
rolandl
  • 1,769
  • 1
  • 25
  • 48
0
votes
1 answer

Image not inside circle avatar

i'm trying to pick image from my gallery then show it to my circleavater, the problem is, the image isn't inside the circle avatar. So, i'm using image_picker: ^0.4.12+1 Future getImage() async { var image = await…
Boby
  • 1,131
  • 3
  • 20
  • 52
0
votes
1 answer

Creating customized labels using FLutter

I want to create the following label using Flutter. How do I go about doing this? Is there an Icon class that creates this kind of label?
mcfred
  • 1,183
  • 2
  • 29
  • 68
-1
votes
1 answer

Download a Widget as PNG in flutter WEB

I'm trying to download a widget as an image via flutter. Everything works so far, but the file is displayed with the error: network error. WidgetsToImage converts the widget that follows into an image. Using the flutter html libary I try to download…
Felix
  • 28
  • 5
-1
votes
1 answer

Dislaying Image File in Container Exported From Video

Trying to export a frame from my video file, save it to an image file list, and then display it back when building my list of containers. setState(() async{ if (result!.files.isNotEmpty) { for (PlatformFile item in result.files) { …
anon
-1
votes
1 answer

Flutter: The named parameter 'image' isn't defined

I wanna ask some help with my codes. I am lost in which part pf the code I am going to put this image: DecorationImage(image: FileImage(imageFile!), in the scanscreen.dart. I am trying to follow this tutorial from Pick Images from Gallery and…
John Michael Tan
  • 129
  • 3
  • 10
-1
votes
2 answers

Flutter error while adding images(assets)

I am trying to add images to my flutter app via assets. this is the where i have linked the images. this is the pubspec yaml file Tried different ways. nothing seems to work.
-1
votes
1 answer

Is there a way to show default image if network/asset image fails to load for circle avatar?

I want a way to load placeholder image if network/asset image fails to load. here's what i have tried. class CircularImageWidget extends StatelessWidget { CircularImageWidget({ Key key, @required this.radius, @required this.assetPath, …
Jay Dangar
  • 3,271
  • 1
  • 16
  • 35
-2
votes
2 answers

How to make image picker crop frame circle?

Below photo is how I want to crop. But I only see how to crop in rectangle shape. Pardon my writing format. This is my first time asking question on stack overflow. This is my code for cropping image Future cropSquareImage(File imageFile)…
Wai Yan Min Min
  • 153
  • 1
  • 7
-3
votes
1 answer

Network SVG Image cant'be load

I am using the flutter_svg package for network svg images but some images can't be loaded. It shows this error. I trying with this image and code. SvgPicture.network( "https://cdn.coinranking.com/ryY28nXhW/ada.svg", height: 20, width:…
1 2 3
18
19