title: Multi Page Form Architecture
body: <p>I'm trying to build a system to create forms with multiples pages. My approach was to separate it in three different parts.</p>
  <ol>
  <li><strong>FormPages</strong>: The different form pages (Each one will have its own logic to validate fields).</li>
  <li><strong>ProjectFormContainer</strong>: The container page that holds the pages inside a Navigator.</li>
  <li><strong>MultiPageFormController</strong>: A controller to manage the navigation between form pages.</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/0Ulhw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/0Ulhw.png" alt="enter image description here" /></a></p>
  <p>I've managed to make some progress adding to the <strong>ProjectFormContainer</strong> a <em>ChangeNotifierProvider</em> of <strong>MultiPageFormController</strong> but I'm not sure how to connect the individual <strong>formPages</strong> logic with the rest of the elements and what's the best way to make a decent architecture for this model.</p>
  <p>I hope you guys could give me some advice. Thanks in advance!</p>
  <p><a href="https://i.stack.imgur.com/3VSUK.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/3VSUK.gif" alt="enter image description here" /></a></p>