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
Writing better Flutter Code with Flutter Lint ...
Search
Kenichi Kambara
April 12, 2023
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Writing better Flutter Code with Flutter Lint / Part1
#flutter
#flutterjp
#flutterdev
#yumemi_grow
Kenichi Kambara
April 12, 2023
More Decks by Kenichi Kambara
See All by Kenichi Kambara
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
160
n個のアプリ開発系 Skills を 作り育てて気づいたこと
korodroid
0
1.4k
[爆速開発LT #2] Codex-Powered Mobile Apps Development - Deep Dive Edition -
korodroid
0
65
[DevFest Singapore] Getting Started with Mobile Development Using Generative AI
korodroid
0
74
[FlutterAlliance]Designing Borderless UX in Flutter: Insights from 50 Countries
korodroid
0
51
[Codex Meetup Japan #1] Codex-Powered Mobile Apps Development
korodroid
2
1.6k
[AgentConHelsinki2025]From Assistant to Agent: How Developer Agents Reshape Mobile Workflows
korodroid
0
41
[FlutterTokyo#10]In-App Language Switching in Flutter
korodroid
0
59
[potatotips #92]Integrating Quick Settings Tiles into Your Android App
korodroid
1
210
Other Decks in Technology
See All in Technology
コミュニティから始まった農業IoTとの7年間 ——人との関わりが教えてくれたこと
peacemaker07
0
100
アクセスキーが漏れた日にやるべきこと- 無効化の先にある本当の対応
kazzpapa3
0
300
Netflix の裏側に何があるのか...その謎を解明すべく、我々は Amazon の奥地へと向かった
kentosuzuki
0
100
Master Dataグループ紹介資料
sansan33
PRO
1
4.8k
AI for Science時代を切り開く、政府の次世代HPC戦略の展望
gpuunite_official
0
240
AIで変わるエンジニアの働き方(仮)
naoinaoi
0
490
LLM Internals: 언어 모델의 계보와 알고리즘 진화 (2023~2026)
inureyes
PRO
1
900
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
暗号化?某ファイルストレージはどうなるの!? 3rd Partyとうまく付き合う秘密度ラベル設計
kasada
0
180
AI-DLC実践録_フルサイクル開発への挑戦
miyuc
0
410
コーチングの奥義 何もしないテクニック
jinwatanabe
0
160
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.5k
Featured
See All Featured
Un-Boring Meetings
codingconduct
0
390
Measuring & Analyzing Core Web Vitals
bluesmoon
9
970
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
390
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
250
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Color Theory Basics | Prateek | Gurzu
gurzu
0
430
Are puppies a ranking factor?
jonoalderson
2
3.8k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
350
Chasing Engaging Ingredients in Design
codingconduct
0
280
A better future with KSS
kneath
240
18k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
490
Transcript
2023.04.12 ਆݪ ݈Ұ (@korodroid) Writing better Flutter Code with
Flutter Lint / Part1 YUMEMI.grow Mobile #2
ࣗݾհ •ۀɿϞόΠϧΞϓϦ։ൃ/ٕज़ࢧԉ/จԽৢ׆ಈ •ߨԋɿΠϕϯτొஃ(ւ֎14ճɺࠃ100ճ+) •ࣥචɿ7 •झຯɿϥϯχϯά/ӳձ/ΞϓϦ։ൃ ਆݪ ݈Ұ (NTTςΫϊΫϩε/ΤόϯδΣϦετ)
About my Flutter product (Private works) Sekaiphone Pro(Flutter/Kotlin/Swift) MyToDo(Flutter)
Lintπʔϧ(੩తղੳ)Λ׆༻͢ΔϝϦοτྫ 1. જࡏతͳόάͷݕग़ 2. ϨϏϡʔ࡞ۀͷෛՙܰݮ 3. ΞϓϦͷύϑΥʔϚϯεվળ
Flutter͚Lintπʔϧ( fl utter_lints) https://pub.dev/packages/ fl utter_lints
Walking through “ fl utter_lints” ↑ඞཁʹԠͯ͡ɺ࠷৽൛ʹߋ৽
Walking through “analysis_options.yaml”
Walking through “ fl utter.yaml” # Recommended lints for
Flutter apps, packages, and plugins. include: package:lints/recommended.yaml linter: rules: - avoid_print - avoid_unnecessary_containers - avoid_web_libraries_in_ fl utter - no_logic_in_create_state - prefer_const_constructors - prefer_const_constructors_in_immutables - prefer_const_declarations - prefer_const_literals_to_create_immutables - sized_box_for_whitespace - sort_child_properties_last - use_build_context_synchronously - use_full_hex_values_for_ fl utter_colors - use_key_in_widget_constructors
Walking through “recommended.yaml”
# Recommended lints for Flutter apps, packages, and plugins. include:
package:lints/recommended.yaml linter: rules: - avoid_print - avoid_unnecessary_containers - avoid_web_libraries_in_ fl utter - no_logic_in_create_state - prefer_const_constructors - prefer_const_constructors_in_immutables - prefer_const_declarations - prefer_const_literals_to_create_immutables - sized_box_for_whitespace - sort_child_properties_last - use_build_context_synchronously - use_full_hex_values_for_ fl utter_colors - use_key_in_widget_constructors Walking through “ fl utter.yaml” again
Walking through “Linter for Dart” https://dart-lang.github.io/linter/lints/ productionίʔυʹ͓͚Δprint੍
Example: “avoid_print”
More examples ྫ.ΠϯελϯεੜͷͨΊͷnewར༻੍
More examples ྫ.Collection͕ಛఆཁૉΛؚΉ͔൱͔ͷఆ
·ͱΊ •FlutterΞϓϦ։ൃͰੵۃతʹLint׆༻ʂ •ެࣜϦϑΝϨϯεͷϓϥΫςΟεࢀߟʹʂ •Linter for DartɺݴޠֶशͷಡΈͱ͓ͯ͢͢͠Ίʂ
Please let me know if you have any requests
such as technical speeches, technical writings and so on. Facebook:http://fb.com/kanbara.kenichi Twitter:@korodroid LinkedIn:http://www.linkedin.com/in/korodroid Thank you so much