Summary
In this chapter, we learned why maintaining code consistency is an important matter and overviewed a lot of practices and tools that make our code more clean, idiomatic, and reliable. We learned how to automate code formatting and leverage the power of static code analysis with the help of the Dart formatter, Dart analyzer, and custom_lints
package. We explored various approaches, including their strengths and limitations, as well as toolsets for quickly locating and fixing any potential issues in our apps with loggers, breakpoints, and the Flutter DevTools.
With that, we have arrived at the end of our journey. Now you are well equipped with a toolset of design patterns and best practices applicable for Flutter applications. You have also gained a deeper understanding of the inner workings of the Flutter framework, which influence the selection of those patterns. It is important to remember that patterns are just guidelines and you should always be mindful of the use case...