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
78
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
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Product Roadmaps are Hard
iamctodd
PRO
53
11k
Fireside Chat
paigeccino
37
3.5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.8k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Designing for humans not robots
tammielis
253
25k
The Pragmatic Product Professional
lauravandoore
35
6.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