Home / Apple / Darts Apprentice | raywenderlich.com

Darts Apprentice | raywenderlich.com



There are many programming languages ​​you can start learning today. But not many are modern, easy to learn, object-oriented and scalable like Darts. In addition, combined with Flutter, it allows you to build native iOS and Android applications with a single code base.

Dart Apprentice will teach you all the basic concepts you need to master this language. Follow the easily and thoroughly explained concepts, and you will build Dart applications in a game.

Before you begin

This section tells you some things you need to know before you begin, such as what hardware and software you need, where to find the project files for this book, and more.

This chapter will help you set up your development environment to work with Dart, and it will also teach you how to create your first Dart projects. Stay tuned to install the required tools and Darts SDK. Get to know the structure of a Dart project and why Pub and Stagehand will be useful tools when programming with Dart.


Now you will learn the basic concepts for starting programming in Dart. What is the difference between a variable and a constant? How do you write comments? And what mathematical expressions can you use? These will help you get started with the basic principles you need to become a Dart Champion!


Let’s move on by learning some of the main types offered by Dart and the various operations you can perform with them. Get to know strings and the way Dart represents text and characters using Unicode. And you will also learn about conversion between types, what type of inference, interconnection or interpolation is used until the end, what is the difference between dynamic and static typed languages.


Let’s move on to some more advanced concepts. As the name suggests, Control flow will allow you to decide and determine what your program does at each step. Booleaners, enums, switches, if-else statements, and loops will allow you to specify the path your program should follow.


The time has come to start looking at Features, one of the concepts you will use more extensively when programming in Darts and many other languages. Check how powerful and flexible Dart functions are, and learn about closures and the difference between anonymous or arrow functions.


Dig deeper into Dart yourself by learning about Dart classes, and other important elements such as access control for variables / methods, static members, cascading characters and more.


Get an overview of zero before you dive deeper into zero-conscious operators, zero security and more.


Learn the different collection elements, such as lists, maps, sets, higher order features, collection operators and more.


Build on what you learned in Chapter 6, “Classes,” by learning to extend classes, abstract classes and heritage, mixins, expansion methods, and more.


Learn at the same time in Darts, as well as other functions such as futures, streams, isolates and more. You will be challenged with a mock network call to practice what you have learned.



Source link