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.