Slide 1

Slide 1 text

Dhrumil Shah, Shipmnts & GDG Ahmedabad @dhuma1981 @Flutter_Flakes Coimbatore Flutter: Makes developer’s life easy

Slide 2

Slide 2 text

Dhrumil Shah Mobile Developer, @Shipmnts Co-organizer, @GDGAhmedabad Founder, @Flutter_Flakes

Slide 3

Slide 3 text

“In 2011” When I started with Android development

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

Some Special devices which changes fonts of your app, and you know that brand :P

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Last Year I joined ...

Slide 16

Slide 16 text

Shipmnts.com

Slide 17

Slide 17 text

Now I am not just Android Developer

Slide 18

Slide 18 text

I am the Mobile Developer

Slide 19

Slide 19 text

I started exploring cross-platfrom SDKs

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

What exactly Flutter is?

Slide 25

Slide 25 text

Flutter is Coimbatore ● An SDK to build beautiful native apps in record time ● Works for both Android & iOS ● An open source Toolkit by Google

Slide 26

Slide 26 text

Flutter architecture Coimbatore Skia Dart Text Foundation Animation Painting Rendering Widgets Material Gestures Engine (C++) Framework (Dart) Cupertino

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

Flutter apps are compiled to native machine (ARM) code

Slide 29

Slide 29 text

Compiled to native MVC/ MVVM View Reactive Views Interpreted (JavaScript) iOS SDK Android SDK Technology: OEM SDKs

Slide 30

Slide 30 text

Compiled to native MVC/ MVVM View Reactive Views Interpreted (JavaScript) iOS SDK Android SDK Titanium, Cordova, PhoneGap, Ionic, ... Technology: WebViews

Slide 31

Slide 31 text

Compiled to native MVC/ MVVM View Reactive Views Interpreted (JavaScript) iOS SDK Android SDK Titanium, Cordova, PhoneGap, Ionic, ... Flutter React Native Technology: Reactive Views

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

“Everything is Widget”

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

Let’s Identify different Widgets

Slide 36

Slide 36 text

What do you see here?

Slide 37

Slide 37 text

Diagram the Layout - Look for rows and columns - Is there a grid? - Any overlapping elements? - Do we need tabs? - Padding, alignment or borders needed?

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

Widget can be Coimbatore ● A structural element (like a Button or Menu) ● A layout element (like a Margin or Padding) ● A design element (like a Font or Color scheme)

Slide 41

Slide 41 text

“Stateless Widget vs Stateful Widget”

Slide 42

Slide 42 text

Stateless Widget Coimbatore ● It doesn’t know anything ● Dumb Widget ● Gets render only once or ● When the parent widget changes the configuration

Slide 43

Slide 43 text

Stateful Widget Coimbatore ● Dynamic widget which has its own properties ● Those property is know as state of the widget ● The state of the widget can be changed by user input, any operation or other widget’s state change. ● setState() method is used to change the state. ● Each time widget gets rebuild when setState() method gets called.

Slide 44

Slide 44 text

“HOT Reload”

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

Hot Reload is Coimbatore ● Stateful: App state is retained after a reload. ● Injecting updated source code files into the running Dart VM ● Quickly iterate on a screen deeply nested in your app

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

“How to access OS/Device specific feature?”

Slide 49

Slide 49 text

Using Platform channels allows for receiving method calls and sending back results

Slide 50

Slide 50 text

Hot Reload is Coimbatore ● Stateful: App state is retained after a reload. ● Injecting updated source code files into the running Dart VM ● Quickly iterate on a screen deeply nested in your app

Slide 51

Slide 51 text

Flutter’s benefits Flutter provides its own widgets ● Compiles to native Code ● No reliance on OEM widgets ● No bridge needed ● Turns layout on its head! ● Widgets are simple and fast ● Full customisation and extensibility

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

And That’s it

Slide 55

Slide 55 text

References Coimbatore ● Awesome Flutter - Wm Leler ● The Magic of Flutter - Tim Messerschmidt ● Flutter.io ● Github.com/flutter

Slide 56

Slide 56 text

Dhrumil Shah, Shipmnts & GDG Ahmedabad @dhuma1981 @Flutter_Flakes Coimbatore Thank you!