We all know that things can get messy when writing code. You have an idea, you write it down, you discard parts of it, you have another idea, you add a quick fix to the previous idea, and all over sudden your code looks like a minefield. In this post, I am presenting methods to create a cleaner and more structured Flutter code by organizing code into different code blocks. While this post is specifically targeting Flutter, most of the key points should easily be transferrable to other languages also.

Grouping things together (Code Blocks)

At some point in each coding lecture or coding lesson…

Markus Funk

Dr. Markus Funk holds a PhD in Augmented Reality. He is a UX and programming specialist and likes to use technology creatively. More: www.makufunk.de

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store