Now that we have some code let's talk about keeping it clean. This is important because it will make it easier to maintain and understand. We can use some tools to help us with that.
There's an official flutter tool that we can run with our installation:
dart fix --apply
Let's run it on our code and see the output:
But this is not the only tool we have...