Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Basics of Dart and Flutter #FlutterDayMeetups S...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Rashmi bhandari
July 02, 2020
0
93
Basics of Dart and Flutter #FlutterDayMeetups Saudi Arabia (Day 5)
https://www.youtube.com/watch?v=xHvr2qNWs00&list=PL1TvzOUYd9IOv55qNoSRPMi4d9T8nOnuE&index=5
Rashmi bhandari
July 02, 2020
Tweet
Share
More Decks by Rashmi bhandari
See All by Rashmi bhandari
Mitigating data theft attack in android @GDG Ahmedabad
rashmibhandari
2
200
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
How to build a perfect <img>
jonoalderson
1
4.9k
Technical Leadership for Architectural Decision Making
baasie
2
250
Believing is Seeing
oripsolob
1
58
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
58
50k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
180
GitHub's CSS Performance
jonrohan
1032
470k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Ruling the World: When Life Gets Gamed
codingconduct
0
150
Leo the Paperboy
mayatellez
4
1.4k
Designing for humans not robots
tammielis
254
26k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
120
Transcript
BASICS OF DART By : RASHMI BHANDARI gohype.in
Syntax • File extension is .dart Syntax
Statically typed programing language
Dynamically typed programing language
Mobile App Web App Server
Commonly Used Editors • Android Studio • Visual Studio Code
• Intellij IDEA • DartPad • CodePen
Data Types • Strings • Numbers • int • double
• Booleans • Lists (Arrays) • Maps
➢ All the data types are objects. ➢ Default values
are null until we initialize the value .
None
Sound Null Safety • Why null safety? • Tech Preview
- > Beta -> Stable • ? , ! , late are keyword • https://nullsafety.dartpad.dev/
Sound Null Safety Assign nullable expression to a variable that’s
non nullable, use assertion operator(!)
Sound Null Safety
Variable Declaration & String interpolation
• final • const Constants
dynamic ,var and final
Functional Programming • Lambda Expression (FAT arrow) • Higher Order
Function
Lambda Expression(FAT arrow) Type 1 : - Multi line of
expression
Type 2 : - Lambda Expression(FAT arrow) Single line of
expression
Higher Order Function • accept function as a parameter •
can return a function • Or can do both
None
Closures • Within the closure , modify the values of
variables present in the parent scope
Closures • closure is a function object that has access
to the variable in its lexical scope , even when the function is used outside of its original scope
Exception Handling • try • catch • on • finally
Exception Handling
Exception Handling
Exception Handling
None
• Ahead Of Time (AOT) Compilation • Just In Time
(JIT) Compilation • Well Ordered Animation • Single Layout Language • Ease of Use • Allocation and Garbage Collection • Null safety
Basic Widgets • Material App • Scaffold • Row •
Column • Stack
• AppBar • Container • Icon • Image • Raised
Button • FAB • Drawer
How to add drawer in flutter 1. Left Drawer 2.
Right Drawer 3. Bottom Drawer
None
Reference • https://dart.dev • https://nullsafety.dartpad.dev/3d9c1769de7912c654bc5d132aff60ac • https://www.youtube.com/watch?list=PLjxrf2q8roU1rBlI9vz01K2324nzIhYgp&v=ZxSyZHq8gU • https://www.youtube.com/watch?v=DfZoyUDCbSg&list=PLlxmoA0rQ-LyHW9voBdNo4gEEIh0Sj G-q&index=37
Questions?
Thank You bh_rashmi