package_im_stepper icon indicating copy to clipboard operation
package_im_stepper copied to clipboard

ImageStepper not able to set image size and background

Open fremfi opened this issue 3 years ago • 4 comments

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. Screen Shot 2021-05-15 at 4 15 49 PM


 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; bottle_icon drop_icon treatment_icon

fremfi avatar May 15 '21 20:05 fremfi

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

imujtaba8488 avatar May 16 '21 10:05 imujtaba8488

Good news, bad news?

fremfi avatar May 19 '21 14:05 fremfi

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.

imujtaba8488 avatar May 20 '21 08:05 imujtaba8488

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?

fremfi avatar May 20 '21 23:05 fremfi