Data Types in Dart

The data type classification is as given below: 

Data Type

Keyword

Description

Number

int, double, num, BigInt

Numbers in Dart are used to represent numeric literals

Strings

String

Strings represent a sequence of characters

Booleans

bool

It represents Boolean values true and false

Lists

List

It is an ordered group of objects

Maps

Map

It represents a set of values as key-value pairs

Dart – Data Types

Like other languages (C, C++, Java), whenever a variable is created, each variable has an associated data type. In Dart language, there are the types of values that can be represented and manipulated in a programming language. 

In this article, we will learn about Dart Programming Language Data Types.

Similar Reads

Data Types in Dart

The data type classification is as given below:...

1. Number

The number in Dart Programming is the data type that is used to hold the numeric value. Dart numbers can be classified as:...

2. String

It used to represent a sequence of characters. It is a sequence of UTF-16 code units. The keyword string is used to represent string literals. String values are embedded in either single or double-quotes....

3. Boolean

It represents Boolean values true and false. The keyword bool is used to represent a Boolean literal in DART....

4. List

List data type is similar to arrays in other programming languages. A list is used to represent a collection of objects. It is an ordered group of objects....

5. Map

The Map object is a key and value pair. Keys and values on a map may be of any type. It is a dynamic collection....

Click Here to Check Dart Tutorial to Learn More about Dart

...