SlideShare uma empresa Scribd logo
Desenvolvendo Apps
Nativos com Flutter
Paulo Cruz
Mobile Software Engineer
Liferay LatAm
Uma SDK para
desenvolvimento
mobile escrita
em Dart
Capaz de criar
apps para
Android e iOS
com um único
codebase
❖ É uma linguagem
criada pela Google
❖ Lançada em 2011
❖ Familiar para
desenvolvedores de
C++, C# ou Java
❖ Compila para ARM e
x86, sendo capaz de
rodar nativamente em
Android e iOS
❖ Em web apps Dart é
transpilada para
JavaScript
❖ Public por padrão,
private com o prefixo
“_”
❖ Não há “primitivos”,
todos os tipos são
Object
❖ Parâmetros
nomeados, opcionais
e com valor padrão
Parâmetros
❖ Propriedades, não é
necessário escrever
métodos get
❖ Com Cascades tudo
pode ser um builder
❖ Construtores
nomeados e auto
assign para
propriedades
Construtores
❖ Inferência de tipos,
use “var” para
variáveis locais
❖ Interpolação de
strings com
“${stringVar}”
❖ Futures e
async/await
Futures e async/await
Everything’s a Widget
❏ Elementos estruturais
como um botão ou menu
❏ Elementos estilísticos
como uma fonte ou
esquema de cores
❏ Aspectos do layout
como o padding
Composition > Inheritance
Layer cakes are delicious
Cada camada é
construída sobre a
camada anterior
Skia Dart Text
Foundation
Animation Painting
Rendering
Widgets
Material
Gestures
Engine
(C++)
Framework
(Dart)
Cupertino
Flutter
x
ReactNative
ReactNative
Flutter
ReactNative
Flutter
Expressive Reactive
Fast
Development
Expressive Reactive
Fast
Development
Cupertino Widgets
Material Widgets
Expressive Reactive
Fast
Development
Widget
States
❏ Widgets podem ser
Stateful ou Stateless
❏ Stateful, quando a
mudança de valores
afeta o estado do
Widget
❏ setState() deve ser
chamado para
mudanças de estado
Stateful
Stateless
Expressive Reactive
Fast
Development
IDEs Compatíveis
Auto Formatação com Trailing Commas
Hot Reload
Widget Inspector
https://github.com/phcp/
flutter-meetup-sample
★ flutter.io
★ dartlang.org
★ medium.com/flutter-io
★ hackernoon.com/tagged/flutter
★ flutter.rocks
★ youtube.com/user/GoogleDevelopers/
Dúvidas?
Obrigado!
Paulo Cruz
paulo.cruz@liferay.com
ph.cruz.lp@gmail.com

Mais conteúdo relacionado

Mais procurados

Flutter
FlutterFlutter
Flutter
Toma Velev
 
Linguagem Dart (Google)
Linguagem Dart (Google)Linguagem Dart (Google)
Linguagem Dart (Google)
Prof. Luciano Borges
 
flutter.school #HelloWorld
flutter.school #HelloWorldflutter.school #HelloWorld
flutter.school #HelloWorld
Frederik Schweiger
 
Dart presentation
Dart presentationDart presentation
Dart presentation
Lucas Leal
 
Flutter introduction
Flutter introductionFlutter introduction
Flutter introduction
SheilaJimenezMorejon
 
Building beautiful apps using google flutter
Building beautiful apps using google flutterBuilding beautiful apps using google flutter
Building beautiful apps using google flutter
Ahmed Abu Eldahab
 
Flutter
FlutterFlutter
Flutter beyond hello world
Flutter beyond hello worldFlutter beyond hello world
Flutter beyond hello world
Ahmed Abu Eldahab
 
What is flutter and why should i care?
What is flutter and why should i care?What is flutter and why should i care?
What is flutter and why should i care?
Sergi Martínez
 
Introduction to Flutter
Introduction to FlutterIntroduction to Flutter
Introduction to Flutter
Apoorv Pandey
 
Flutter introduction
Flutter introductionFlutter introduction
Flutter introduction
Võ Duy Tuấn
 
DSC IIITL Flutter Workshop
DSC IIITL Flutter WorkshopDSC IIITL Flutter Workshop
DSC IIITL Flutter Workshop
DSCIIITLucknow
 
What and Why Flutter? What is a Widget in Flutter?
What and Why Flutter? What is a Widget in Flutter?What and Why Flutter? What is a Widget in Flutter?
What and Why Flutter? What is a Widget in Flutter?
MohammadHussain595488
 
Build beautiful native apps in record time with flutter
Build beautiful native apps in record time with flutterBuild beautiful native apps in record time with flutter
Build beautiful native apps in record time with flutter
RobertLe30
 
The magic of flutter
The magic of flutterThe magic of flutter
The magic of flutter
Shady Selim
 
Introduction to flutter's basic concepts
Introduction to flutter's basic conceptsIntroduction to flutter's basic concepts
Introduction to flutter's basic concepts
Kumaresh Chandra Baruri
 
Getting started with flutter
Getting started with flutterGetting started with flutter
Getting started with flutter
rihannakedy
 
What is Flutter
What is FlutterWhat is Flutter
What is Flutter
Malan Amarasinghe
 
Introduction to ReactJS
Introduction to ReactJSIntroduction to ReactJS
Introduction to ReactJS
Hoang Long
 
Flutter frame work
Flutter frame workFlutter frame work
Flutter frame work
samash
 

Mais procurados (20)

Flutter
FlutterFlutter
Flutter
 
Linguagem Dart (Google)
Linguagem Dart (Google)Linguagem Dart (Google)
Linguagem Dart (Google)
 
flutter.school #HelloWorld
flutter.school #HelloWorldflutter.school #HelloWorld
flutter.school #HelloWorld
 
Dart presentation
Dart presentationDart presentation
Dart presentation
 
Flutter introduction
Flutter introductionFlutter introduction
Flutter introduction
 
Building beautiful apps using google flutter
Building beautiful apps using google flutterBuilding beautiful apps using google flutter
Building beautiful apps using google flutter
 
Flutter
FlutterFlutter
Flutter
 
Flutter beyond hello world
Flutter beyond hello worldFlutter beyond hello world
Flutter beyond hello world
 
What is flutter and why should i care?
What is flutter and why should i care?What is flutter and why should i care?
What is flutter and why should i care?
 
Introduction to Flutter
Introduction to FlutterIntroduction to Flutter
Introduction to Flutter
 
Flutter introduction
Flutter introductionFlutter introduction
Flutter introduction
 
DSC IIITL Flutter Workshop
DSC IIITL Flutter WorkshopDSC IIITL Flutter Workshop
DSC IIITL Flutter Workshop
 
What and Why Flutter? What is a Widget in Flutter?
What and Why Flutter? What is a Widget in Flutter?What and Why Flutter? What is a Widget in Flutter?
What and Why Flutter? What is a Widget in Flutter?
 
Build beautiful native apps in record time with flutter
Build beautiful native apps in record time with flutterBuild beautiful native apps in record time with flutter
Build beautiful native apps in record time with flutter
 
The magic of flutter
The magic of flutterThe magic of flutter
The magic of flutter
 
Introduction to flutter's basic concepts
Introduction to flutter's basic conceptsIntroduction to flutter's basic concepts
Introduction to flutter's basic concepts
 
Getting started with flutter
Getting started with flutterGetting started with flutter
Getting started with flutter
 
What is Flutter
What is FlutterWhat is Flutter
What is Flutter
 
Introduction to ReactJS
Introduction to ReactJSIntroduction to ReactJS
Introduction to ReactJS
 
Flutter frame work
Flutter frame workFlutter frame work
Flutter frame work
 

Semelhante a Desenvolvendo Apps Nativos com Flutter

Csharp
CsharpCsharp
Aulas Google Android
Aulas Google AndroidAulas Google Android
Aulas Google Android
Iury Teixeira
 
Linguagens de Programação para Ficar de Olho em 2019 - DevRocks
Linguagens de Programação para Ficar de Olho em 2019 - DevRocksLinguagens de Programação para Ficar de Olho em 2019 - DevRocks
Linguagens de Programação para Ficar de Olho em 2019 - DevRocks
Rodrigo Wanderley de Melo Cardoso
 
Sencha Touch, RhoMobile, AppMobi e jQuery Mobile um comparativo entre platafo...
Sencha Touch, RhoMobile, AppMobi e jQuery Mobile um comparativo entre platafo...Sencha Touch, RhoMobile, AppMobi e jQuery Mobile um comparativo entre platafo...
Sencha Touch, RhoMobile, AppMobi e jQuery Mobile um comparativo entre platafo...
Leonardo Melo Santos
 
Conheça a Plataforma Xamarin
Conheça a Plataforma XamarinConheça a Plataforma Xamarin
Conheça a Plataforma Xamarin
William S. Rodriguez
 
Desenvolvimento de aplicações web em Dart
Desenvolvimento de aplicações web em DartDesenvolvimento de aplicações web em Dart
Desenvolvimento de aplicações web em Dart
Roger Ritter
 
PDC - Engenharia - Phonegap
PDC - Engenharia - PhonegapPDC - Engenharia - Phonegap
PDC - Engenharia - Phonegap
slides_teltools
 
Flutter - Erick Lima
Flutter - Erick LimaFlutter - Erick Lima
Flutter - Erick Lima
Erick Farias
 
As vantagens do desenvolvimento em .NET
As vantagens do desenvolvimento em .NETAs vantagens do desenvolvimento em .NET
As vantagens do desenvolvimento em .NET
Joel Rodrigues
 
O uso de PWA e o futuro do desenvolvimento mobile com React Native e Kotlin
O uso de PWA e o futuro do desenvolvimento mobile com React Native e KotlinO uso de PWA e o futuro do desenvolvimento mobile com React Native e Kotlin
O uso de PWA e o futuro do desenvolvimento mobile com React Native e Kotlin
David Robert Camargo de Campos
 
Write once, run "everywhere"
Write once, run "everywhere"Write once, run "everywhere"
Write once, run "everywhere"
Stefan Horochovec
 
Construindo Aplicativos móveis conectados com Xamarin e Azure Mobile Services
Construindo Aplicativos móveis conectados com Xamarin e Azure Mobile ServicesConstruindo Aplicativos móveis conectados com Xamarin e Azure Mobile Services
Construindo Aplicativos móveis conectados com Xamarin e Azure Mobile Services
William S. Rodriguez
 
Workshop calabash android
Workshop calabash androidWorkshop calabash android
Workshop calabash android
Gislaine Melo
 
Workshop calabash android
Workshop calabash androidWorkshop calabash android
Workshop calabash android
Gislaine Melo
 
Netbeans
NetbeansNetbeans
Netbeans
armeniocardoso
 
Seminário - Linguagem Dart: Structured web apps
Seminário - Linguagem Dart: Structured web appsSeminário - Linguagem Dart: Structured web apps
Seminário - Linguagem Dart: Structured web apps
Giancarlo Silva
 
Oficina Intel XDK - VIII Semana de TI UNIVEM
Oficina Intel XDK - VIII Semana de TI UNIVEMOficina Intel XDK - VIII Semana de TI UNIVEM
Oficina Intel XDK - VIII Semana de TI UNIVEM
Diego Cavalca
 
Linguagens Dinamicas na JVM
Linguagens Dinamicas na JVMLinguagens Dinamicas na JVM
Linguagens Dinamicas na JVM
William Gouvea
 

Semelhante a Desenvolvendo Apps Nativos com Flutter (20)

Csharp
CsharpCsharp
Csharp
 
Aulas Google Android
Aulas Google AndroidAulas Google Android
Aulas Google Android
 
Linguagens de Programação para Ficar de Olho em 2019 - DevRocks
Linguagens de Programação para Ficar de Olho em 2019 - DevRocksLinguagens de Programação para Ficar de Olho em 2019 - DevRocks
Linguagens de Programação para Ficar de Olho em 2019 - DevRocks
 
Sencha Touch, RhoMobile, AppMobi e jQuery Mobile um comparativo entre platafo...
Sencha Touch, RhoMobile, AppMobi e jQuery Mobile um comparativo entre platafo...Sencha Touch, RhoMobile, AppMobi e jQuery Mobile um comparativo entre platafo...
Sencha Touch, RhoMobile, AppMobi e jQuery Mobile um comparativo entre platafo...
 
Conheça a Plataforma Xamarin
Conheça a Plataforma XamarinConheça a Plataforma Xamarin
Conheça a Plataforma Xamarin
 
Desenvolvimento de aplicações web em Dart
Desenvolvimento de aplicações web em DartDesenvolvimento de aplicações web em Dart
Desenvolvimento de aplicações web em Dart
 
PDC - Engenharia - Phonegap
PDC - Engenharia - PhonegapPDC - Engenharia - Phonegap
PDC - Engenharia - Phonegap
 
Flutter - Erick Lima
Flutter - Erick LimaFlutter - Erick Lima
Flutter - Erick Lima
 
Isc aula 7
Isc   aula 7Isc   aula 7
Isc aula 7
 
As vantagens do desenvolvimento em .NET
As vantagens do desenvolvimento em .NETAs vantagens do desenvolvimento em .NET
As vantagens do desenvolvimento em .NET
 
O uso de PWA e o futuro do desenvolvimento mobile com React Native e Kotlin
O uso de PWA e o futuro do desenvolvimento mobile com React Native e KotlinO uso de PWA e o futuro do desenvolvimento mobile com React Native e Kotlin
O uso de PWA e o futuro do desenvolvimento mobile com React Native e Kotlin
 
Write once, run "everywhere"
Write once, run "everywhere"Write once, run "everywhere"
Write once, run "everywhere"
 
Construindo Aplicativos móveis conectados com Xamarin e Azure Mobile Services
Construindo Aplicativos móveis conectados com Xamarin e Azure Mobile ServicesConstruindo Aplicativos móveis conectados com Xamarin e Azure Mobile Services
Construindo Aplicativos móveis conectados com Xamarin e Azure Mobile Services
 
Workshop calabash android
Workshop calabash androidWorkshop calabash android
Workshop calabash android
 
Workshop calabash android
Workshop calabash androidWorkshop calabash android
Workshop calabash android
 
Netbeans
NetbeansNetbeans
Netbeans
 
Seminário - Linguagem Dart: Structured web apps
Seminário - Linguagem Dart: Structured web appsSeminário - Linguagem Dart: Structured web apps
Seminário - Linguagem Dart: Structured web apps
 
Oficina Intel XDK - VIII Semana de TI UNIVEM
Oficina Intel XDK - VIII Semana de TI UNIVEMOficina Intel XDK - VIII Semana de TI UNIVEM
Oficina Intel XDK - VIII Semana de TI UNIVEM
 
Code Masters
Code MastersCode Masters
Code Masters
 
Linguagens Dinamicas na JVM
Linguagens Dinamicas na JVMLinguagens Dinamicas na JVM
Linguagens Dinamicas na JVM
 

Desenvolvendo Apps Nativos com Flutter