본문 바로가기
스터디/Dart

[Dart] #2.0 Basic Data Types

by SayHiWorld 2024. 1. 10.

String

bool 

int

double

Types in Dart are all 'objects', which means it has its own methods that we can use.

 

num -parent

int, double -child

 

void main () {
	var num = 12;
	num 69.99;
}

 

'스터디 > Dart' 카테고리의 다른 글

[Dart] #2.4 Maps  (1) 2024.01.10
[Dart] #2.3 Collection For  (0) 2024.01.10
[Dart] #2.2 String interpolation '$'  (1) 2024.01.10
[Dart] #2.1 Lists & collection if  (0) 2024.01.10
[Dart] #1 Variables  (0) 2024.01.10