Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Flutter開発で便利だと感じた設定
Search
とんとんぼ
February 21, 2022
Technology
830
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Flutter開発で便利だと感じた設定
2月21日(月曜日)に開催した「Android Studioの使い方TipsLT会」で発表した登壇使用です。
とんとんぼ
February 21, 2022
More Decks by とんとんぼ
See All by とんとんぼ
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
160
Xcode27の新機能
ktombow
0
170
OSSコントリビューションの 楽しみ方と始め方
ktombow
0
76
extension 現場で使えるXcodeショートカット一覧
ktombow
0
440
Ignite の1年間の軌跡
ktombow
0
260
Swift愛好会:What's new in Xcode16 要約
ktombow
0
780
JSONEncodeで詰まった話
ktombow
0
260
今週のTopics:量子コンピュータ
ktombow
2
230
Other Decks in Technology
See All in Technology
2026 Apache Flink Community Checkpoint
rmetzger
0
210
大江戸Ruby会議でデータベース クライアントの話をするのは 間違っているだろうか
yahonda
1
110
cdkd (CDK Direct)
gotok365
4
280
bpf_arenaとstruct_opsを使うのが難しかった話
masu_mi
0
220
生成AI時代のIAMのマニアックな話
takuros
6
2.9k
PostgreSQL オプティマイザ統計の秘密
nori_shinoda
1
460
HQ駆動開発で最高のAI-Contextを作ろう
sansantech
PRO
1
120
FinOpsを導入してマルチプロダクトのコスト最適化を実現する
kworkdev
PRO
0
140
狙われているAPIの脆弱性!今こそ手をつけるべき根本的な対策とは?
nagix
0
110
コードレビューをなくして見えたもの
henteko
0
150
新卒エンジニア、 介護士になる
ryu1013
1
700
Cloudflareの向き先
chimame
1
170
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
820
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
390
How to Ace a Technical Interview
jacobian
280
24k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
520
A designer walks into a library…
pauljervisheath
211
25k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
980
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Transcript
Flutter開発で便利 だと感じた設定
自己紹介 とんとんぼ 大学3年 専門:物理学 量子コンピュータ モバイルアプリ(特にiOS)が好き Twitter:@Ktombow1110 2
話す内容 ◦ 予測変換で大文字と小文字を区別させない方法 ◦ コードフォーマット(コード整形)の設定と注意点 3
1. 予測変換で大文字と小文字 を区別させない方法 4
背景 ◦ Android Studioでは大文字と小文字を区別しなくてはいけない • XcodeやVScodeでは大文字と小文字を区別しなかった • 統一感を持ちたい 5
“ 実際の設定方法 6
設定方法 Mac Preferences(⌘,) → Editor → General → CodeCompletion Windows Setting(Ctrl + Alt + S) → Editor → General → CodeCompletion
その中の”Match case”のチェックを外す 7
設定前と設定後 8 Before After
2. フォーマット 9
背景 ◦ Dartコードを書く際、コード整形は必要不可欠 ◦ Flutter公式も推奨している ◦ Widgetをネスト構造で記述することで、UIを宣言する ◦ そのため、ネストが深くなり、複雑になる 10
“ 実際の設定方法 11
設定方法 右クリック → ”Reformat Code with dart format” ショートカット Mac:option + ⌘
+ L Windows: Ctrl + Alt + L 12
“ もっと簡単にフォーマットしたい 13
“ セーブすると自動的にフォーマットしてくれる設定がある 14
設定方法 その2 Mac Preferences(⌘,) → Editor →Languages & Frameworks →Flutter Windows Setting(Ctrl
+ Alt + S) → Editor →Languages & Frameworks →Flutter 15
注意点 ◦ 単にフォーマットするのも危険 ◦ 末尾のカンマが必要になる ◦ 関数、メソッドなどの末尾にカンマ(,)を常に追加しなくてはいけない 16
カンマがある場合とない場合 17 カンマがある場合 カンマがない場合 画像出典;https://docs.flutter.dev/development/tools/formatting
まとめ 予測変換で大文字と小文字を区別させない方法 ◦ CodeCompletionの”Match case”のチェックを外せばOK フォーマット ◦ 右クリック→”Reformat Code with
dart format” ◦ Languages & FrameworkのFlutterにある”Format code on Save” ◦ 関数、メソッドなどの最後にカンマを必ずつけること 18
THANKS! 参考文献: https://qiita.com/hainare/items/95d028b2e31700ca7217 https://docs.flutter.dev/development/tools/formatting 19