- Learning Dart(Second Edition)
- Ivo Balbaert Dzenan Ridjanovic
- 149字
- 2021-07-16 19:47:08
Summary
By now, you have acquired a lot of technical skills and gained insights to how Dart works. We have discussed which typing variables in Dart are relevant and where to apply them: type the public API of your app in order to enhance the tooling and documentation produced with the built-in Dartdoc tool. We also saw that Dart's constructs are very familiar, but their approach is quite refreshing, leading to elegant code. In particular, Dart incorporates quite a few functional ways of coding: the functions are quite powerful and working with collections uses this intensively.
In the next chapter, we will see that Dart is a familiar object-oriented language using classes. Generic types are also available, and we will show how to use libraries to structure your growing code. Using external libraries is easy with the pub tool, and tests can be integrated with the unit testing library.