package_im_stepper
package_im_stepper copied to clipboard
Failed assertion: line 243 pos 14: 'notification.metrics.axis == widget.axis': is not true.
Thanks for the amazing library.
I have this problem, where I keep getting the error in the title every time the page with the stepper opens, and the stepper tries to scroll vertically even though there are no more icons, I know this because it does the same effect as when trying to scroll a page that cant be further scrolled down (the blue shape at the end of the page shows up)
This is my stepper:
IconStepper(
stepRadius: 20,
icons: const [
Icon(Icons.question_mark),
Icon(Icons.description),
Icon(Icons.list),
Icon(Icons.person),
Icon(Icons.done)
],
enableStepTapping: true,
enableNextPreviousButtons: false,
activeStepColor: HexColor("#d4c4ca"),
// activeStep property set to activeStep variable defined above.
activeStep: activeStep,
// This ensures step-tapping updates the activeStep.
onStepReached: (index) {
setState(() {
activeStep = index;
});
},
),