Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

Build Native Mobile & Web App With Flutter Parth Jansari | Jadav Chirag

Slide 3

Slide 3 text

Hello! Parth jansari The first explorer, Freelancer, Organizer @gdggandhinagar Twitter: @jansariParth Github: @parth181195 Stackoverflow: parth-jansari

Slide 4

Slide 4 text

Hello! Chirag Jadav Udacity Certified Developer | Flutter Enthusiast Software Engineer Twitter: @JadavRadhe Github: @JadavChirag LinkedIn: Jadav Chirag

Slide 5

Slide 5 text

My Mom loves Cooking mad scientist @kitchen

Slide 6

Slide 6 text

Result I needed 44 inch pants pic-2018(devfest gandhinagar)

Slide 7

Slide 7 text

Then one day my mom was like Aaj kuch tufani karteee hain Bhaijan @myhome

Slide 8

Slide 8 text

Then my mom had an idea for an app!!! CEO @myhome

Slide 9

Slide 9 text

Mom said teach me! Student @myhome

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Outline What is Flutter? Widget catalog Flutter CodeLab : Counter App ( Android/iOS) Flutter Web Gossip time!! Contact Us

Slide 16

Slide 16 text

What is Flutter ? An open-source X platform SDK, developed by Google Works for both Android and iOS(pre-alpha for web, windows, mac & linux) Make high-performing, modern and beautiful apps 250+ active contributors around the globe

Slide 17

Slide 17 text

Single codebase compiles to native arm code for each platform which results in faster performance App comes with own ui rendering engine that uses GPU to accelerate rendering of Widget tree. Uses dart Why flutter?

Slide 18

Slide 18 text

Be highly productive Create beautiful, customised user experiences Modern reactive framework Fast 2D rendering engine Tooling Huge library of widgets Why use Flutter?

Slide 19

Slide 19 text

Why Dart?

Slide 20

Slide 20 text

Strongly Typed Object Oriented language Familiar Language experience like Swift, C#, Java and JavaScript JIT ( Just In Time )Compilation: Hot Reload: Code is continuously recompiled on devices AOT ( Ahead of Time ) Compilation: Code is directly compiled to native ARM code, leads to Fast startup and better performance. Why Dart?

Slide 21

Slide 21 text

Cli tools Support for hot reload/restart Widget inspector Dart observatory Tooling

Slide 22

Slide 22 text

Flutter CLI

Slide 23

Slide 23 text

Create Projects($ flutter create app_name) Run Project($ flutter run) Some Commands

Slide 24

Slide 24 text

Demo Time

Slide 25

Slide 25 text

Any Flutter app starts with main() function Void main(){ // This method ‘runApp’ comes from “package:flutter/material.dart” runApp(...somewidget...) } When creating any widget, always have a “,” comma after the last attribute of that widget. This helps in formatting the code with Dart Format. Things to Remember

Slide 26

Slide 26 text

Everything is widget's. Widgets are the foundation of Flutter apps. A widget is a description of part of a user interface. Widgets are the basic building blocks of a Flutter app’s user interface. Each widget is an immutable declaration of part of the user interface. Unlike other frameworks that separate views, view controllers, layouts, and other properties, Flutter has a consistent, unified object model: the widget. https://flutter.dev/docs/development/ui/widgets Widgets

Slide 27

Slide 27 text

a structural element (like a button or menu) a stylistic element (like a font or color scheme) an aspect of layout (like padding) some business logic A widget can define:

Slide 28

Slide 28 text

Rich set of widgets

Slide 29

Slide 29 text

Flutter can help you build cross platform apps easily The app being built is high quality, and fast Native platform APIs can be accessed Flutter offers Material Design components Key takeaways

Slide 30

Slide 30 text

“A wise man once said to create an app you must write code” A wise man(parth jansari)

Slide 31

Slide 31 text

Let’s Code. http://bit.ly/devfestrajkot-flutt er

Slide 32

Slide 32 text

Thank you!!