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
79
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
190
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Designing Experiences People Love
moore
142
24k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
750
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Git: the NoSQL Database
bkeepers
PRO
430
65k
GitHub's CSS Performance
jonrohan
1031
460k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Six Lessons from altMBA
skipperchong
28
3.9k
Side Projects
sachag
455
42k
Building Applications with DynamoDB
mza
95
6.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
We Have a Design System, Now What?
morganepeng
53
7.7k
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