Just enough Dart for Flutter

Gurleen Sethi
Jun 12, 2018 · 2 min read
Image for post
Image for post

So you saw the Flutter framework popping at almost everywhere you go and want to try it out, because you are a developer and that is what developers do :D try out new stuff! Before you dive into Flutter you have to learn the programming language that is used to build Flutter apps, and that is Dart.

While learning Dart is not that difficult of a task, because it is more or less a mixture of Java and JavaScript, it still takes time to understand a programming language. But you just can’t wait to write a Flutter app!

Image for post
Image for post
Can’t wait to write Flutter apps!

So I have put together a short tutorial series that takes you through the Dart language and shows just enough features of the language that you will need to get started with Flutter.

Tutorial 01 — Variables, Types and Functions

In this tutorial you will learn how to define variables in Dart and understand the type system. Then you will get to know the various types that are available to you in Dart such Numbers, Strings, Lists etc. After that you will play with functions which is one of the most important aspects of a programming language.

Tutorial 02 — Control Flow and Exceptions

In this tutorial you will take a look at if/else statements in Dart and various types of loops. You will also see how exceptions and exception handling works in Dart.

Tutorial 03 — Classes and Generics

In this tutorial you will learn how to define classes in Dart, inheritance and all that good stuff. You will also learn some new features introduced by Dart such has named constructors. Then you will take a look at how to implement a generic class in Dart.

Tutorial 04 — Asynchronous and Libraries

In this tutorial you will learn one of most important feature when it comes to mobile development and that is handling and executing asynchronous code. You will see how to use Future’s, a concept that Dart utilises to make async code easier to manage.

After going through these tutorials you will learn just enough Dart to easily jump into Flutter development.

If you liked this article, SMASH THAT CLAP BUTTON AND MAKE IT DISAPPEAR FROM MEDUIM!

PS: Flutter tutorials coming soon ;).

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store