Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
87
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
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
720
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Building Adaptive Systems
keathley
44
2.9k
Designing for Performance
lara
610
69k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Speed Design
sergeychernyshev
33
1.4k
Git: the NoSQL Database
bkeepers
PRO
432
66k
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