Skip to content

Failed assertion: line 243 pos 14: 'notification.metrics.axis == widget.axis': is not true. #42

@Sadoun-Jr

Description

@Sadoun-Jr

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;
                  });
                },
              ),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions