package_im_stepper
package_im_stepper copied to clipboard
ImageStepper not able to set image size and background
Hey, tried turning my images into icons, but couldn't get them to look how i want.
Instead chose to use image stepper, but am not able to size the png image to fit the step radius, even if i increase the step raidus size, the image scales the same. Also there's a blue background that am not setting, wondering if I'm using this component the wrong way. thanks.
ImageStepper(
stepColor: Color(0xFFFBF7F1),
activeStepColor: Color(0xFFFFC56E),
activeStepBorderColor: Colors.white,
lineColor: Color(0xFF7E7E7A),
lineDotRadius: 2,
stepRadius: 30,
images: [
AssetImage(
"assets/icons/3.0x/bottle_icon.png",
),
AssetImage(
"assets/icons/3.0x/drop_icon.png",
),
AssetImage(
"assets/icons/3.0x/treatment_icon.png",
),
],
),
for reference here are the pngs; you'll have to squint to see them as they are small and transparent;
Hi fremfi,
Thank you for getting in touch. Allow me sometime to replicate the issue from my side. I will shortly update you.
Regards Mujtaba
Good news, bad news?
Hi,
Unfortunately, I am not able to replicate it from my side. It seems to be working fine. I just need to replicate it once, so that if there is problem I may fix it.
Hmm. Do you mind sharing with me how it looks on your side, did you use the images I sent you, and the same code snippet?