Slide 1

Slide 1 text

Pawan Kumar, GDE Twitter - @imthepk Youtube – MTechViral Github - iampawan Kolkata Flutter is the best!! Best Practices & Tools

Slide 2

Slide 2 text

Disclaimer – I am a Flutter fanboy and a meme lover. Kolkata

Slide 3

Slide 3 text

Pichle Episode me aapne dekha… Kolkata

Slide 4

Slide 4 text

Arya Stark (Pooja Bhaumik) Kolkata

Slide 5

Slide 5 text

Principle Sir (Dhrumil Shah) Kolkata

Slide 6

Slide 6 text

Prime Time With Ravish (Raveesh) Kolkata

Slide 7

Slide 7 text

About me Kolkata

Slide 8

Slide 8 text

Another Ordinary Software Developer Kolkata

Slide 9

Slide 9 text

Google Developer Expert Kolkata

Slide 10

Slide 10 text

Agenda Kolkata

Slide 11

Slide 11 text

Agenda • Creating first flutter app • Designing the UI • Best Practices • Tooling Kolkata

Slide 12

Slide 12 text

Let’s Start Kolkata

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

Flutter The One Kolkata

Slide 15

Slide 15 text

Everything is a widget

Slide 16

Slide 16 text

Kolkata

Slide 17

Slide 17 text

The App is itself a widget.

Slide 18

Slide 18 text

The App is itself a widget.

Slide 19

Slide 19 text

Scaffold Introduced

Slide 20

Slide 20 text

ListView Introduced

Slide 21

Slide 21 text

Card Introduced

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

Designing UI Kolkata

Slide 24

Slide 24 text

Hamse na ho Paayega !

Slide 25

Slide 25 text

See Visualize Code End Designing UI Steps

Slide 26

Slide 26 text

What do you see here?

Slide 27

Slide 27 text

Diagram the layout

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

Flutter UI KIT https://github.com/iampawan/Flutter-UI-Kit

Slide 30

Slide 30 text

Best Practices Kolkata

Slide 31

Slide 31 text

When you see too much nested code !

Slide 32

Slide 32 text

Avoid Padding

Slide 33

Slide 33 text

Use SizedBox

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

Future Builder Widget that builds itself based on the latest snapshot of interaction with a Future.

Slide 36

Slide 36 text

SetState() and Rebuild the tree

Slide 37

Slide 37 text

Stream Builder Widget that builds itself based on the latest snapshot of interaction with a Stream.

Slide 38

Slide 38 text

Scales and positions its child within itself according to fit. Fitted Box

Slide 39

Slide 39 text

A widget that displays its children in multiple horizontal or vertical runs. Wrap

Slide 40

Slide 40 text

A box in which a single widget can be scrolled. SingleChildScollView

Slide 41

Slide 41 text

Animations are cool

Slide 42

Slide 42 text

AnimatedBuilder is useful for more complex widgets that wish to include an animation as part of a larger build function. To use AnimatedBuilder, simply construct the widget and pass it a builder function. Animated Builder

Slide 43

Slide 43 text

In the isolate you can perform more CPU intensive processing (parsing a big JSON, for example), or perform computationally intensive math, such as encryption or signal processing. Use Isolates

Slide 44

Slide 44 text

“ Make Separate Widgets For Better Control Over the State “

Slide 45

Slide 45 text

Tools Kolkata

Slide 46

Slide 46 text

Json 2 Dart https://javiercbk.github.io/json_to_dart/

Slide 47

Slide 47 text

Performance Monitoring

Slide 48

Slide 48 text

Rebuild Indicators

Slide 49

Slide 49 text

Rebuild Indicators

Slide 50

Slide 50 text

No content

Slide 51

Slide 51 text

Widget Inspector

Slide 52

Slide 52 text

Widget Inspector

Slide 53

Slide 53 text

Dart VM Observatory

Slide 54

Slide 54 text

- Everyone “With Flutter the only limitation is your own imagination.”

Slide 55

Slide 55 text

Links to learn flutter Pawan Kumar • MTechViral YouTube • iampawan - github • Let's flutter - fb group Google • Flutter.io • Udacity Course • Flutter Codelabs • Boring Development Show Misc. • Awesome Flutter Repo • Udemy Courses • Slack,Gitter, Reddit

Slide 56

Slide 56 text

Pawan Kumar, GDE Twitter - @imthepk Youtube – MTechViral Github - iampawan Kolkata Thank you!

Slide 57

Slide 57 text

- GDG,WTM Kolkata, Pawan Kumar “ Wishing you and your family a very Happy Diwali”

Slide 58

Slide 58 text

Q&A Kolkata