300 questions
0
votes
0
answers
144
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
76
views
Loading Network Images in Flutter test (for generating screenshots)
I find the idea to use goldens for creating screenshots quite intriguing. It is so much faster, more convenient and easier to work with than the screenshots package. Also by mocking the providers the ...
0
votes
0
answers
47
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
31
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
16
views
Flutter turns picture, windows-explorer displays it wrong, Android Studio correct
I have a problem in my flutter project.
When I take a picture, it is displayed -90 deg turned, in Android Studio/IntelliJ it is displayed correctly, and in windows explorer, it is again -90 deg turned....
0
votes
0
answers
88
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
34
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
51
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
97
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
800
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
84
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
279
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
139
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
26
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
1k
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 ...