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
This is the code I am trying out NinePatchImage( hideLines: true, imageProvider: AssetImage(Assets.images.crm2.myasset9.path), child: Text(e.text.toString()))
When I am doing with your asset image the 'bubble_blue.9.png' it somehow works but with blurred corners but atleast I can see it.
Now when I try with my .9.png asset. my assets wont even be visisble when I run the same code.
Below is my asset
The text was updated successfully, but these errors were encountered:
AhmadIzaz
changed the title
It works with your nine patch assets but does not work with my nine patch image.
It works with your given nine patch assets but does not work with my nine patch image.
May 30, 2024
════════ Exception caught by rendering library ═════════════════════════════════
centerSlice was used with a BoxFit that does not guarantee that the image is fully visible.
'package:flutter/src/painting/decoration_image.dart':
Failed assertion: line 552 pos 12: 'sourceSize == inputSize'
The relevant error-causing widget was:
This is the code I am trying out
NinePatchImage( hideLines: true, imageProvider: AssetImage(Assets.images.crm2.myasset9.path), child: Text(e.text.toString()))
When I am doing with your asset image the 'bubble_blue.9.png' it somehow works but with blurred corners but atleast I can see it.
Now when I try with my .9.png asset. my assets wont even be visisble when I run the same code.
Below is my asset
The text was updated successfully, but these errors were encountered: