Dart Tutorial

Welcome to Dart Tutorial by TutorialKart.

In this series of Dart Tutorials, we learn the basic concepts of Dart programming language.

Pre-requisites to learn Dart

There are no specific pre-requisites to learn Dart programming language. Of course having an idea of programming concepts help you learn faster. These Dart Tutorials are designed to address the beginners who have no idea of programming.

If you know any of the programming languages like C#, Java, JavaScript, etc., learning Dart becomes relatively easy.

IDE for Dart Programming

You can use any text editor present in your PC to write Dart code. Or, you can also use Dart Editor.

Dart Editor is very light-weight and productive for developers.

You can also use Eclipse or IntelliJ IDEs to develop Dart applications. They have rich Dart editing experience.

Where is Dart used?

Dart is used in:

  • Flutter (Mobile Application Development)

Dart Tutorials

Dart Basics

These list of tutorials deal with the the basics like how to install dart on to your PC, write a simple program in Dart and run it, Dart Variables, how to write comments in Dart programs, conditional statement, looping statements, etc.

Dart String Operations

These Dart Tutorials cover String Operations that are mostly required while working with Strings. It contains operations like adding two strings, splitting a string by a specific delimiter, replacing a substring with another in a string, computing substring of a string given start index and end index, calculating the length of a string, trimming a string with trailing and leading white space characters, etc.

Dart Collections

List, Set, Map and Queue are the collection classes implemented in Dart. In the following Dart Tutorials, we walk you through these Collection classes and different properties and operations that could be performed on them.

In Dart, List is a collection of elements that can belong to different types. Also, elements in list are indexed. We can perform different operations of List with the help of built-in properties and methods of List class or primitive conditional and Looping statements.

Following series of tutorials deal with the different List Operations that are most useful while developing Dart applications.

  • Dart List
    • List Length
    • Check if List is Empty
    • Reverse List
    • Iterate over List
    • Add elements to List
    • Shuffle List
    • Check if List contains the Element
    • Join Lists
    • Convert List to Set

Dart Set is a collection of unique elements that can belong to different types.

Following series of Dart Tutorials go through most useful operations on Dart Sets.

  • Set
    • Set Length
    • Check if Set is Empty
    • Add Element(s) to Set
    • Check if Set contains Element
    • Remove Element from Set
    • Union of Sets
    • Iterate over elements of Set
    • Reduce Elements of Set

Dart Map is a collection of key:value pairs.

  • Map
    • Map Length
    • Check if Map is Empty
    • Add Entries to Map
    • Check if Map contains Key
    • Check if Map contains Value
    • Remove Entry from Map
    • Iterate over Entries of Map
  • Queue

Dart Object Oriented Concepts

  • Dart Tutorial – Class
  • Dart Tutorial – Inheritance
  • Dart Tutorial – Method Overriding
  • Dart Tutorial – Interface

Dart Others

  • Dart Tutorial – Dart Date Time
  • Dart Tutorial – Dart Duration

Conclusion

In these series of Dart Tutorials, we introduced different concepts to get you started with Application Development using Dart programming.