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
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
New Earth Scene 8
popppiees
1
1.5k
WCS-LA-2024
lcolladotor
0
450
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Site-Speed That Sticks
csswizardry
13
1.1k
Six Lessons from altMBA
skipperchong
29
4.2k
Crafting Experiences
bethany
1
53
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
120
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
98
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
320
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
130
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
260
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