Dart?

Ayesha Iftikhar
2 min readMar 3, 2022

All the common dart related questions which we are going to cover via this article to get to know about Dart Language comprehensively by using the simplest language that helps us all to remember the information for a long time.

Table of Contents:

What is dart ?

Why do we use dart language with flutter?

Is dart an Object Oriented Programming (OOP) Language?

What is Dart?

Dart is a client-optimized language for developing fast apps on any platform. Its goal is to offer the most productive programming language for multi-platform development, paired with a flexible execution runtime platform for app frameworks.

Why do we use Dart Language with Flutter?

We use Dart with Flutter because it allows flutter to avoid the need of a separate declarative layout language like XML or JSX. The layout of Dart is declarative and programmatic and it makes it easy for developers to read and visualize code very easily and effortlessly.

In addition, it makes it easy for Flutter to provide additional tooling as the layout and backend all is in one language and a commonplace.

Another important reason why the duo is popular is because Dart uses Just In Time compilation. This drastically reduces the time of development and responds faster.

Is Dart an Object Oriented Programming (OOP) Language?

Yes, Dart is an object-oriented, class-based, garbage-collected language with C-style syntax. Dart can compile to either native code or JavaScript. It supports interfaces, mixins, abstract classes, reified generics, and type inference.

As the name suggests, it focuses on the object and objects are the real-life entities. The Object-oriented programming approach is used to implement the concept like polymorphism, data-hiding, etc. The main goal of oops is to reduce programming complexity and do several tasks simultaneously.

Learn in detail about dart at: https://dart.dev/overview

--

--

Ayesha Iftikhar

I am professional software engineer with experience of around 4 years in Mobile Application Development using Flutter and overall 5 years of experience in IT.