Science & Technology

Dirt Apprentice |

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

Dart Apprentice will teach you all the basic concepts you need to learn this language. Follow a simple and thoroughly explained concept. That way, you can easily build a Dart application.

Before you start

This section describes some things you need to know before you start, such as what you need for your hardware and software, the location of the project files in this book, and so on.

Section I: Dirt Apprentice

Learn all the basic concepts needed to master this language and start your journey. Follow a simple and thoroughly explained concept. That way, you can easily build a Dart application.

This chapter describes how to set up your development environment to work with Dart and create your first Dart project. Then install the Dart SDK and the required tools. Learn about the structure of your Dart project and how to configure it in the code editor.

Here you will learn the basic concepts needed to get started programming in Dart. What is the difference between variables and constants? How do you write a comment? And what formulas can I use? These will give you the foundation you need to become a master of darts.

In this chapter, you’ll learn about some of the main data types that Dart provides and the various operations you can perform on them. Learn about strings and how Dart uses Unicode to represent text and characters. You will also learn about type-to-type conversion and how type inference, concatenation, and interpolation are used. Finally, let’s look at the difference between a dynamically typed language and a statically typed language.

As the name implies, control flows allow you to decide what your program does at each step. You can use Boolean values, enums, switches, if-else statements, and loops to set the path your program follows.

Functions are one of the most widely used concepts when programming in Dart. In this chapter, you will learn how to use them to organize your code into logical blocks. Check out the power of Dart functions with named and anonymous functions, flexible parameters, and arrow syntax.

In this chapter, you will learn about one of the most important concepts of object-oriented programming, classes. They allow you to create your own types to define the properties they have and their functionality. An important part of creating a class in Dart is learning about constructor methods, including generation, naming, forwarding, and factory constructors.

Nullability can be used to handle missing values ​​during programming. The concept of `null` is useful, but has traditionally plagued programmers who forget to deal with it. However, with the addition of Sound Null Safety to Dart, it’s no longer forgotten. Continue to learn the reason.

Collectiones allow you to group your data in a variety of convenient ways. Check out lists, sets, maps, and all the properties and operations you can perform with them. You end up learning about higher-order methods and the power they provide to you.

In Chapter 6, you learned about classes. The following describes more advanced concepts such as inheritance, abstract classes, interfaces, mixins, and extension methods.

Learn how concurrency works in Dart and other related topics such as futures, streams, and isolation. This chapter applies much of what we have learned throughout the book.

Dirt Apprentice | Dirt Apprentice |

Back to top button