SlideShare una empresa de Scribd logo
1 de 49
A
1
How to Work PC ( H/W – S/W )
A
2
How to Work PC ( H/W – S/W )
A
3
What is an Operating System?
A
4
What is a programming language ?
A
5
What is a programming language?
A
6
What is a programming language?
A
6
What is a programming language?
A
7
What’s Integrated development environment IDE ?
A
8
What’s Compiler
Compiler
01010010111010010101010101111
11111100101110111110001110101
01110001100110111110110111001
11111110100110111111001111111
10100100001011010010100101110
10010101010101111111111001011
10111110001110101011100011001
10111110110111001111111101001
B
1
About Dart
- Dart is the open-source programming language
originally developed by Google.
- Dart is Object-oriented language
B
2
Why Learn Dart ?
• Dart is really flexible
• Dart is the open-source programming language
• Dart is pretty easy to learn
• Dart is a good first language
• Dart has great tooling support
• Dart is a robust language
• Dart is used by Flutter
• Dart solved a lot of problems, efficiently
B
3
What’s Dart and Flutter and SDK ?
• Dart is a client-optimized language for fast apps on any
platform
• Flutter is an open-source UI SDK software development kit
created by Google. It is used to develop cross platform
applications for Android, iOS, Linux, macOS, Windows,
Google Fuchsia, and the web from a single codebase.
• software development kit (SDK) is a collection of software
development tools in one installable package.
B
4
Native vs Hybrid vs Cross Platform ?
B
5
Difference Between Dart & Flutter
B
6
Installing Tools
Go to YouTube >>
SDK Dart
SDK Flutter
Install VS Code
Install Android Studio
Install Intellij
C
1
First Code ( Hi Dart )
C
2
Print Function
C
3
Types Of Errors
Syntax Error
Run Time Error
Logical Error
C
4
Data types
C
5
Variables
<data_type> <variable_name>;
<data_type> <variable_name> = value;
C
6
Data types
num •num x = 10;
•num y = 10.3;
int •int x = 10;
Double •double x = 10.3;
Bool
• bool x = true;
• Bool y = false;
String
• String x = ‘any Text’;
• String y = “any Text”;
Dynamic
• Dynamic x = 10; Dynamic y = 10.3;
• Dynamic s = “Text”; Dynamic b = true;
Var
• var x = 10; var y = 10.3;
• var s = “Text”; var b = true;
Runes •Runes'u2665';
•Runes'u{1f600}';
C
7
supertype num ( int , double )
C
8
Boolean
C
9
String
C
10
String Interpolation
C
11
Runes Unicode Character
C
12
Dynamic VS Var VS Object
Dynamic VS Var VS Object
?
C Default Value
26
Default Value is NULL
C Non-Nullable and Nullable types
13
C Late Keyword
14
C Difference Between Const and Final
15
C Important Concepts
• Everything you can place in a variable is an object, and every
object is an instance of a class. Even numbers, functions, and null
are objects.
• Although Dart is strongly typed, type annotations are optional
because Dart can infer types.
• Dart supports generic types, like List<int> (a list of integers) or
List<Object> (a list of objects of any type).
• Dart supports top-level functions (such as main()),
• Similarly, Dart supports top-level variables, as well as variables
tied to a class or object (static and instance variables). Instance
variables are sometimes known as fields or properties.
• Dart doesn’t have the keywords public, protected, and private. If an
identifier starts with an underscore (_), it’s private to its library. 16
C Keywords
abstract
2
else import
2
show
1
as
2
enum in static
2
assert export
2
interface
2
super
async
1
extends is switch
await
3
extension
2
late
2
sync
1
break external
2
library
2
this
case factory
2
mixin
2
throw
catch false new true
class final null try
const finally on
1
typedef
2
continue for operator
2
var
covariant
2
Function
2
part
2
void
default get
2
required
2
while
deferred
2
hide
1
rethrow with
do if return yield
3
dynamic
2
implements
2
set
2
17
C Comment
18
C Iterable
19
Iterable
String
List
Set
Map
Queue
C String is Iterable
20
C Iterable for String and Integer
21
C Collections
22
C Collections
23

Más contenido relacionado

Similar a Dart( 1 )

Presentation 2nd
Presentation 2ndPresentation 2nd
Presentation 2nd
Connex
 

Similar a Dart( 1 ) (20)

Dart programming language
Dart programming languageDart programming language
Dart programming language
 
R programming Language , Rahul Singh
R programming Language , Rahul SinghR programming Language , Rahul Singh
R programming Language , Rahul Singh
 
Developer’s viewpoint on swift programming language
Developer’s viewpoint on swift programming languageDeveloper’s viewpoint on swift programming language
Developer’s viewpoint on swift programming language
 
Karakter dan String
Karakter dan StringKarakter dan String
Karakter dan String
 
Java Fx
Java FxJava Fx
Java Fx
 
C-sharping.docx
C-sharping.docxC-sharping.docx
C-sharping.docx
 
Msc prev updated
Msc prev updatedMsc prev updated
Msc prev updated
 
Msc prev completed
Msc prev completedMsc prev completed
Msc prev completed
 
The Ring programming language version 1.8 book - Part 93 of 202
The Ring programming language version 1.8 book - Part 93 of 202The Ring programming language version 1.8 book - Part 93 of 202
The Ring programming language version 1.8 book - Part 93 of 202
 
Presentation 2nd
Presentation 2ndPresentation 2nd
Presentation 2nd
 
Unit 1
Unit 1Unit 1
Unit 1
 
Chtp408
Chtp408Chtp408
Chtp408
 
Kotlin: A pragmatic language by JetBrains
Kotlin: A pragmatic language by JetBrainsKotlin: A pragmatic language by JetBrains
Kotlin: A pragmatic language by JetBrains
 
270_1_CIntro_Up_To_Functions.ppt
270_1_CIntro_Up_To_Functions.ppt270_1_CIntro_Up_To_Functions.ppt
270_1_CIntro_Up_To_Functions.ppt
 
Introduction to D programming language at Weka.IO
Introduction to D programming language at Weka.IOIntroduction to D programming language at Weka.IO
Introduction to D programming language at Weka.IO
 
C
CC
C
 
chapt_01.ppt
chapt_01.pptchapt_01.ppt
chapt_01.ppt
 
270_1_CIntro_Up_To_Functions.ppt
270_1_CIntro_Up_To_Functions.ppt270_1_CIntro_Up_To_Functions.ppt
270_1_CIntro_Up_To_Functions.ppt
 
Survey of programming language getting started in C
Survey of programming language getting started in CSurvey of programming language getting started in C
Survey of programming language getting started in C
 
270 1 c_intro_up_to_functions
270 1 c_intro_up_to_functions270 1 c_intro_up_to_functions
270 1 c_intro_up_to_functions
 

Último

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Último (20)

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

Dart( 1 )