Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds


Free Preview: Get Started With Dart Language for Web Apps


  • Overview
  • Transcript

The Dart programming language, initially developed by Google, is an easier and cleaner alternative to JavaScript. That's probably why it's one of the fastest growing languages for web app development today.

In this course, Envato Tuts+ instructor Ashraff Hathibelagal will show you how to build web apps with Dart. In less than an hour, you will learn the basics of the language, as well as advanced features such as object-oriented and asynchronous programming. Furthermore, because most web developers who use Dart tend to use it with the Angular framework, this course also introduces you to Angular Dart 2.

One of the best things about using Dart is that it is supported by several popular IDEs and code editors. Throughout the course, you will be using IntelliJ IDEA as your IDE for Dart.

We've built comprehensive guides to help you learn JavaScript and Angular, whether you're just getting started or you want to explore more advanced topics.

1. Introduction

1.1 Introduction

Are you a developer who thinks creating large web applications with JavaScript is way too hard? Well, you're definitely not alone. In this short course, I'm going to introduce you to a powerful programming language called Dart. Which among other things can serve as a cleaner and faster alternative to JavaScript. Dart was also designed to be very easy and shares so many similarities with languages such as C# and Java that any seasoned programmer can become productive in it within just a day or two. It also comes with a large number of standard libraries and an easy to use packet manager should you want to use external libraries. Hi, I'm Ashraff Hathibelagal, and in this course I'm going to teach you everything you need to know to start developing web apps with Dart. We will start right from the basics, move on to object-oriented and asynchronous programming. And then to using a popular web app development framework called AngularDart. If all that sounds interesting, just open the next video.

1.2 Why Use Dart?

Let us now spend a minute or two learning about all the features Dart offers that make it an attractive alternative to JavaScript. Dart is a dynamically typed language just like JavaScript. But it also supports optional static typing, allowing you to write types of code, which tends to be less error-prone and more readable. For added robustness, Dart also supports generates both classes and individual functions. Next, Dart is a language with a lot of handy features. For instance it allows you to create functions with named parameters, positional parameters, and even optional parameters. It also has a lot of syntactic sugar to help you save time. Like most modern languages, Dart too is object-oriented. It has most of the object-oriented features available in popular languages such as Java, but it also supports mix-ins, getters and setters, and overridable operators. One important thing to consider while choosing a new programming language is IDE support. Dart is supported by popular IDEs such as IntelliJ IDEA and WebStorm. If you prefer using simpler code editors, Dart is also supported by Atom, Visual Studio Code and Sublime Text. Let's talk about speed and efficiency now. Dart comes with a powerful transpiler that can convert Dart code into JavaScript. The JavaScript code the transpiler generates is supported by all popular browsers. And because the code is highly optimized, it tends to run faster than and JavaScript code. Lastly, you can effortlessly use existing JavaScript libraries in your Dart projects. Well, but usually you won't have to because Dart has its own large and rapidly growing collection of libraries. So those were some important facts about Dart. In the next lesson of this course, I'll help you set up a development amendment for Dart programming.