Dart Clean Code: Writing High-Efficiency, Maintainable Dart Programs

Dart Clean Code: Writing High-Efficiency, Maintainable Dart Programs

52mIntermediate2022-11-23

Authors

Temidayo Adefioye

Temidayo Adefioye

Founder of CodeNest Africa | Mentor @MentorCruise | Author

Course details

According to a StackOverflow survey, 68.8% of developers now develop mobile apps using Flutter/Dart and have shown a keen interest in building more apps with this framework. In this course, Temidayo Adefioye uses instruction and practical challenges to teach you best practices for building consistent, maintainable, and efficient Dart code for large applications. Temidayo guides you through pragmatic coding guidelines, like effective documentation, design, and Dart usage. He highlights SOLID principles in Dart: the single responsibility principle, the open-closed principle, the Liskov substitution, the interface segregation principle, and the dependency inversion principle. Temidayo also goes over Dart DevTools and extensions, then shows you what Dart testing and continuous integration mean and how you can implement them in your projects and software delivery.

Skills covered

DartGoogleProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

Introduction

  • Clean code and high-quality Dart
  • What you should know

Pragmatic Coding Guidelines

  • Style guidelines
  • Effective documentation
  • Effective design
  • Effective Dart usage
  • Challenge - Create a customer class
  • Solution - Create a customer class

S.O.L.I.D Principles in Dart

  • Single responsibility principle
  • Open-closed principle
  • Liskov substitution
  • Interface segregation principle
  • Dependency inversion principle
  • Challenge - Create an area calculator
  • Solution - Create an area calculator

Tools and Extensions

  • Dart DevTools
  • VS Code Dart extensions

Testing and Optimization

  • Dart testing
  • Continuous integration

Conclusion

  • Continue learning
40,000 Toman