Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Basics of Dart and Flutter #FlutterDayMeetups S...

Avatar for Rashmi bhandari Rashmi bhandari
July 02, 2020
78

Basics of Dart and Flutter #FlutterDayMeetups Saudi Arabia (Day 5)

Avatar for Rashmi bhandari

Rashmi bhandari

July 02, 2020
Tweet

Transcript

  1. Commonly Used Editors • Android Studio • Visual Studio Code

    • Intellij IDEA • DartPad • CodePen
  2. Data Types • Strings • Numbers • int • double

    • Booleans • Lists (Arrays) • Maps
  3. ➢ All the data types are objects. ➢ Default values

    are null until we initialize the value .
  4. Sound Null Safety • Why null safety? • Tech Preview

    - > Beta -> Stable • ? , ! , late are keyword • https://nullsafety.dartpad.dev/
  5. Higher Order Function • accept function as a parameter •

    can return a function • Or can do both
  6. Closures • Within the closure , modify the values of

    variables present in the parent scope
  7. 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
  8. • 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
  9. How to add drawer in flutter 1. Left Drawer 2.

    Right Drawer 3. Bottom Drawer