Check out example codes for "dart break double for loop". It will help you in understanding the concepts better.

Code Example 1

QUESTION: Break outer loop
  
ANSWER:

  OUTER: for (int i = 0; i < 4; i++) {
            for (int j = 0; j < 4; j++) {
                if (i * j > 5) {
                    print("Breaking from nested loop");
                    break OUTER;
                }

Learn ReactJs, React Native from akashmittal.com