Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Prazer, Flutter!
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Lucas Santos
November 05, 2019
Programming
0
63
Prazer, Flutter!
Uma introdução ao Flutter
Lucas Santos
November 05, 2019
Tweet
Share
More Decks by Lucas Santos
See All by Lucas Santos
Introdução à Programação Funcional com Elixir
lslm
0
67
Plataformatec Hack Evening: SOLID Series - Interface Segregation Principle
lslm
0
58
Uma introdução ao Ruby
lslm
1
65
Uma introdução prática ao aprendizado de máquina com o Weka
lslm
0
49
Other Decks in Programming
See All in Programming
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
330
Oxlint JS plugins
kazupon
1
800
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
190
高速開発のためのコード整理術
sutetotanuki
1
390
CSC307 Lecture 07
javiergs
PRO
0
550
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
51k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
110
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Exploring anti-patterns in Rails
aemeredith
2
250
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Crafting Experiences
bethany
1
47
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
The Mindset for Success: Future Career Progression
greggifford
PRO
0
230
Balancing Empowerment & Direction
lara
5
880
The Curious Case for Waylosing
cassininazir
0
230
Transcript
Prazer, Flutter!
Lucas Santos Software Developer - Plataformatec
• Introdução • Criação de um app • Widgets •
Dependências • Resources
Flutter é a aposta do Google para o desenvolvimento multiplataforma
• Android • iOS • Web
Breaking news: desktop também
Utiliza o Dart
Aplicações que usam o Flutter
• Google Ads • Alibaba • Reflectly • Birch Finance
• Nubank (futuro) • Google Assistant
None
Começando...
Acessar flutter.dev e baixar o SDK do Flutter
Extrair o arquivo e adicionar a localização do diretório no
PATH: export PATH="$PATH:`pwd`/flutter/bin"
$ flutter doctor -v
Configurar plataforma de desenvolvimento:
iOS • Configurar o XCode • Configurar o Simulator
Android • Configurar um simulador (o uso de um dispositivo
físico é recomendado)
$ flutter create my_app $ cd my_app $ flutter run
Estrutura de uma aplicação Flutter
None
None
None
None
Widgets
Widget é uma descrição de um elemento visual de um
componente Flutter
São os building blocks de uma aplicação Flutter
Stateless Widget
Um Stateless widget é um widget cujas as propriedades são
imutáveis
None
• Text • Image • Row • Column
Stateful Widget
Stateful widgets são widgets que lidam com dados dinâmicos
• Checkbox • TextField • Slider • Form
Criando um stateful widget
Criamos uma classe que herda de StatefulWidget
None
Controlamos o estado por uma classe que herda de State
None
None
É tudo Widget
Dart DevTools
None
Bibliotecas
Pub.dev
pubspec.yaml
$ flutter pub get
Obrigado!