298 questions
0
votes
0
answers
160
views
How to display images in flutter with different dimensions inside a fixed-size container while maintaining aspect ratio and ensuring a clean UI?
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
ClipRRect(
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(10),
...
0
votes
0
answers
59
views
Flutter Object Box store image from URL
Does anyone know how we can store images obtained from a URL to object box ?
This is what i currently have:
@Entity()
class ServiceModel {
@Id()
int id = 0;
@Unique()
final String identifier;
...
0
votes
0
answers
41
views
Exception caught by image resource service(flutter)
when i try to run the code it show's me that:
Performing hot reload...
Syncing files to device Pixel 6...
Reloaded 0 libraries in 270ms (compile: 10 ms, reload: 0 ms, reassemble: 47 ms).
======== ...
0
votes
0
answers
99
views
How to remove image distortion in flutter
My requirement is to render images without distortion(The image is not drawn continuously, for example in the mobile image in the character m there are several gaps, I need to render without any break)...
1
vote
0
answers
40
views
Flutter camera image conversion to image
I'm trying to convert a cameraImage using camera and image libraries.
I've tried many code snippet to do the conversion unsuccessfully.
Like this one:
How to convert camera image to image?
Now, I'm ...
0
votes
0
answers
53
views
Why am I gettting error Icon in cachednetworkImage
I am getting error icon in my cached network image. The code snippet is as below:
class FacCachedNetworkImage extends StatelessWidget {
const FacCachedNetworkImage(
{required this.imageUrl, ...
0
votes
2
answers
125
views
not all images can be displayed
Here is my code for get image:
Image.network('http://10.0.2.2:8000/${widget.product.imageUrl}', fit: BoxFit.cover),
and the error:
════════ Exception caught by image resource service ════...
0
votes
1
answer
906
views
SvgPicture: border around SVG graphic possible?
I want to be able to set a different color for the border around my SVG image.
Currently I am only able to set the color the image like so:
SvgPicture.asset(
'assets/images/example.svg',
...
0
votes
1
answer
90
views
How to reload only the Image retrieved from the URL in PageView
I am new to flutter.
I want to create a screen to view images acquired from multiple surveillance cameras. I used a PageView to switch between camera images by swiping, and I also placed a button ...
0
votes
2
answers
354
views
image cropper package source path error in flutter
i have to crop image when click double tap on image container that time image crop function call.
onDoubleTap: () {
_cropImage(context);
},
this image i have to direct to crop ...
0
votes
1
answer
171
views
Flutter: Loading images from file causes flickering
I show images in a GridView. The images should be shown, even when the device has no internet connection. Therefore I implemented a custom class that checks if the image is available locally, if not, ...
0
votes
1
answer
30
views
Unable to load assets "assets/images/me.png" flutter using dart framework
[1. create directory : "assets"
2. create directory images inside "assets" and then put in image into it "me.png"
modify pubspec.ymal :
flutter:
uses-material-design: ...
1
vote
1
answer
2k
views
Flutter image not loading error " Invalid image data"
I am trying to load an image from the assets which is not working I am able to load network image and also some other images also in the png and jpg format but I don't know why the required images ...
1
vote
3
answers
1k
views
web - readAsBytes throws Unsupported operation: _Namespace
I'm trying to add uploading user photos to firebase storage in my app. It is a simple script - I start by getting the photos via image_picker and then I want to upload it to the cloud. Here, however, ...
1
vote
1
answer
37
views
Why are there irregularities in the loading speed of my cached images?
In developing my first "real" Flutter project I wanted to create an image carousel which fetches images from Firebase Storage. To accomplish this, I utilized both the carousel_slider ...