Process for Building a Component

A quick outline of our recommended process for building a component in Flutter Forge.

  • Start with Widget Test as the Outside edge
  • Drive development of the Widget out using TDD until you hit the logic boundary
  • Jump down a level to a Store Test
  • Drive development of the Store out using TDD until you get it passing correctly
  • Jump back up a level to the Widget Test & finish TDD'ing the Widget out
  • Jump over to Storybook and add your Widget to Storybook
  • Iterate on the UI/UX of your component using Storybook