My problem with Undefined breakpoints was that I had a cyclical dependency of two packages: in two pubspecs.yaml had dependencies on each other. My architectural mistake.