Data Types in Dart | Dart Tutorial for Flutter in Hindi | Integer, Double, String and Boolean| Hindi

Опубликовано: 09 Октябрь 2024
на канале: Ahirlog
23,331
320

In Dart, there are several data types that can be used to store different types of data. Here is a brief overview of some of the most common data types in Dart:

int: The int data type is used to store integer values (whole numbers). For example:

int age = 30;
double: The double data type is used to store decimal values. It is recommended to use double for decimal values instead of float, as double has a higher precision. For example:

double pi = 3.14;
String: The String data type is used to store string values (text). String values can be enclosed in single quotes (') or double quotes ("). For example:

String name = 'John';
bool: The bool data type is used to store boolean values (true or false). For example:

bool isOnline = true;
These are just a few of the basic data types in Dart. There are many other data types available, such as List, Map, and Set, which can be used to store collections of data. You can learn more about the data types in Dart by reading the Dart documentation or taking a Dart tutorial.

Blog: https://www.ahirlog.com/2022/11/data-...

My YouTube Gear:
Boya BYM1(Mic): https://amzn.to/3bvm69j
Redmi Note 7 Pro(Mic & Camera): https://amzn.to/3uRkVsb
MSI Motherboard: https://amzn.to/3fiQHYO
Intel i3 Processor: https://amzn.to/3w8TWbQ
Mouse: https://amzn.to/3yb8PMP
Keyboard: https://amzn.to/3bvmtkd
Wifi Adaptor: https://amzn.to/3fiQYuO
SSD: https://amzn.to/3w2w2Pa
Speakers: https://amzn.to/3w6pKhv
----------------------------------
Dart Introduction | Return Types, main() Function and Comments | #5
   • Dart Introduction | Dart main() Funct...  

How to run Flutter App in Chrome? | Setup Flutter Web | #4
   • How to run Flutter App in Chrome? | S...  

How to Install and Setup Flutter on Windows | #3
   • How to Install and Setup Flutter on W...  

Should You Learn Flutter in 2021? | Actual Reality | #2
   • Should I Learn Flutter in 2023? | How...  

All about Flutter in just 6 minutes | What is Flutter ? | Hindi | #1
   • All about Flutter in just 6 minutes |...  
----------------------------------

Instagram:   / ahirlog  

Facebook:   / ahirlog  

Twitter:   / ahirlog  

YouTube:    / ahirlog  

#ahirlog #flutter #dart

Last Summer by Ikson:   / ikson​  
Music promoted by Audio Library    • Last Summer – Ikson (No Copyright Music)