際際滷

際際滷Share a Scribd company logo
2018.05.31
Kenichi Kambara (@korodroid)
Flutter Meetup Tokyo #2
^Hello Flutter ̄
Flutter
Flutter
´
#
!!!
´
About me
?
?
? Droidcon UK/FR/NL/ES/SH
? Developers Summit
? Android?Bazaar and Conference
? StackOver?ow DevDays
? Cloud Days
?
? Mobile Dev Blog
? Android
? NTT
(@korodroid)
Introduction
?
?
( ) 1/2/3 ?
https://bit.ly/2IMOqmy (Flutter )
https://bit.ly/2ss1OpZ ( )
https://bit.ly/2sgjKnT ( )
https://bit.ly/2ss1OpZ
^Hello Flutter ̄の肝におさえたい Flutterのポイント その4
^Hello Flutter ̄の肝におさえたい Flutterのポイント その4
^Hello Flutter ̄の肝におさえたい Flutterのポイント その4
^Hello Flutter ̄の肝におさえたい Flutterのポイント その4
1.
2.
3. HTTP/S
4.
1.
2.
3. HTTP/S
4.
(Internationalization)
3 Step
Step1.
Step2.
lib/stringresources.dart
>mkdir lib/l10n?
>?utter pub pub run intl_translation:extract_to_arb --output-dir=lib/
l10n lib/stringresources.dart
lib/l10n/?
intl_messages.arb (Created)
Step2.
lib/l10n/?
intl_messages.arb (○ intl_ja.arb intl_en.arb )
{
"@@last_modified": "2018-05-29T16:57:33.089276",
"appTitle": "Hello App",
"@appTitle": {
"type": "text",
"placeholders": {}
},
"appSummary": "App Summary",
"@appSummary": {
"type": "text",
"placeholders": {}
}
}
{
"@@last_modified": "2018-05-29T16:57:33.089276",
"appTitle": " ",
"@appTitle": {
"type": "text",
"placeholders": {}
},
"appSummary": " ",
"@appSummary": {
"type": "text",
"placeholders": {}
}
}
lib/i10n/intl_ja.arb
lib/i10n/intl_en.arb
Step2. (*.arb)
lib/l10n/?
intl_messages.arb (○ intl_ja.arb intl_en.arb )
{
"@@last_modified": "2018-05-29T16:57:33.089276",
"appTitle": "Hello App",
"@appTitle": {
"type": "text",
"placeholders": {}
},
"appSummary": "App Summary",
"@appSummary": {
"type": "text",
"placeholders": {}
}
}
{
"@@last_modified": "2018-05-29T16:57:33.089276",
"appTitle": " ",
"@appTitle": {
"type": "text",
"placeholders": {}
},
"appSummary": " ",
"@appSummary": {
"type": "text",
"placeholders": {}
}
}
lib/i10n/intl_ja.arb
lib/i10n/intl_en.arb
Step2. (*.arb)
>?utter pub pub run intl_translation:generate_from_arb --output-
dir=lib/l10n --no-use-deferred-loading lib/stringresources.dart lib/
l10n/intl_*.arb
lib/l10n/?
messages_ja.dart (Created)?
messages_en.dart (Created)?
messages_all.dart (Created)?
messages_messages.dart (Created)
Step2. (*.dart)
[ ] Dart
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
// This is a library that provides messages for a ja locale. All the
// messages from the main program should be duplicated here with the same
// function name.
import 'package:intl/intl.dart';
import 'package:intl/message_lookup_by_library.dart';
final messages = new MessageLookup();
final _keepAnalysisHappy = Intl.defaultLocale;
typedef MessageIfAbsent(String message_str, List args);
class MessageLookup extends MessageLookupByLibrary {
get localeName => 'ja';
final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
"appSummary" : MessageLookupByLibrary.simpleMessage(" "),
"appTitle" : MessageLookupByLibrary.simpleMessage(" ")
};
}
lib/i10n/messages_ja.dart
Step3.
lib/main.dart
lib/main.dart
Step3.
Conclusion
?main.dart
?
Appendix( )
- Please let me know if you have any requests ?
such as technical speeches, technical writings and so on.
Facebook:http://fb.com/kanbara.kenichi
Google+:+Kenichi Kambara
LinkedIn:http://www.linkedin.com/in/korodroid
Twitter:@korodroid
Thank you so much.
Ad

Recommended

Hello Flutter ̄の肝におさえたい Flutterのポイント その5
Hello Flutter ̄の肝におさえたい Flutterのポイント その5
Kenichi Kambara
?
畏粥京遺2018皆沿姻庄稼乙液酷鉛顎岳岳艶姻アプリ蝕k秘壇
畏粥京遺2018皆沿姻庄稼乙液酷鉛顎岳岳艶姻アプリ蝕k秘壇
Kenichi Kambara
?
ABC2018 Autumn: Android PIe UI Design
ABC2018 Autumn: Android PIe UI Design
Nobuya Sato
?
Advance Android application development workshop day 1
Advance Android application development workshop day 1
cresco
?
[??????????] Key Note : Overall Pinpoint - ???
[??????????] Key Note : Overall Pinpoint - ???
NAVER Engineering
?
Photoshop assigment 1
Photoshop assigment 1
pawelgola
?
Cyborgstack
Cyborgstack
Opersys inc.
?
Hello Flutterの肝におさえたい Flutterのポイント その6 (レイアウト)
Hello Flutterの肝におさえたい Flutterのポイント その6 (レイアウト)
Kenichi Kambara
?
[Google I/O 2018 Highlights] Sandbox
[Google I/O 2018 Highlights] Sandbox
Kenichi Kambara
?
[Google I/O 2018 Highlights] Flutter / WearOS
[Google I/O 2018 Highlights] Flutter / WearOS
Kenichi Kambara
?
"Hello Flutter"の肝におさえたいFlutterのポイントその3
"Hello Flutter"の肝におさえたいFlutterのポイントその3
Kenichi Kambara
?
Hello Flutterの肝におさえたいFlutterのポイントその2
Hello Flutterの肝におさえたいFlutterのポイントその2
Kenichi Kambara
?
鴛/或への豚棋今翌局砂隔ち麗意庄沿壊
鴛/或への豚棋今翌局砂隔ち麗意庄沿壊
Kenichi Kambara
?
Hello Flutterの肝におさえたいFlutterのポイント
Hello Flutterの肝におさえたいFlutterのポイント
Kenichi Kambara
?
Developing Android Apps for Google Assistant
Developing Android Apps for Google Assistant
Kenichi Kambara
?
Google Assistant鬋▲廛裼_k3つのポイント
Google Assistant鬋▲廛裼_k3つのポイント
Kenichi Kambara
?
10蛍で恬るGoogle Assistant鬋▲廛
10蛍で恬るGoogle Assistant鬋▲廛
Kenichi Kambara
?
[Kotlin茶氏] Hello Kotlinの肝におさえたいKotlinの娠侭
[Kotlin茶氏] Hello Kotlinの肝におさえたいKotlinの娠侭
Kenichi Kambara
?
Android O (Picture In Picture)秘T+g廾箭
Android O (Picture In Picture)秘T+g廾箭
Kenichi Kambara
?
粥稼糸姻看庄糸アプリの悪看岳鉛庄稼卞佩扮に壟囑した諒籾とI箭
粥稼糸姻看庄糸アプリの悪看岳鉛庄稼卞佩扮に壟囑した諒籾とI箭
Kenichi Kambara
?
Android O (Beta) Topics
Android O (Beta) Topics
Kenichi Kambara
?
Publishing Android Wear 2.0 Apps
Publishing Android Wear 2.0 Apps
Kenichi Kambara
?
Android Studio 2.3 New Features
Android Studio 2.3 New Features
Kenichi Kambara
?
Android 7.0 Nougat マルチウィンドウ盾hα
Android 7.0 Nougat マルチウィンドウ盾hα
Kenichi Kambara
?
晩云androidの氏協箭氏2016定6埖_Android Wear 2.0vB婢幣B初
晩云androidの氏協箭氏2016定6埖_Android Wear 2.0vB婢幣B初
Kenichi Kambara
?
Android Wear 恷仟トヒ?ック
Android Wear 恷仟トヒ?ック
Kenichi Kambara
?
[ABC2016S]Android Wear アプリ_k秘T
[ABC2016S]Android Wear アプリ_k秘T
Kenichi Kambara
?
粥稼糸姻看庄糸アプリの雨鴛/雨掛個鋲箭
粥稼糸姻看庄糸アプリの雨鴛/雨掛個鋲箭
Kenichi Kambara
?
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
?
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
?

More Related Content

More from Kenichi Kambara (20)

[Google I/O 2018 Highlights] Sandbox
[Google I/O 2018 Highlights] Sandbox
Kenichi Kambara
?
[Google I/O 2018 Highlights] Flutter / WearOS
[Google I/O 2018 Highlights] Flutter / WearOS
Kenichi Kambara
?
"Hello Flutter"の肝におさえたいFlutterのポイントその3
"Hello Flutter"の肝におさえたいFlutterのポイントその3
Kenichi Kambara
?
Hello Flutterの肝におさえたいFlutterのポイントその2
Hello Flutterの肝におさえたいFlutterのポイントその2
Kenichi Kambara
?
鴛/或への豚棋今翌局砂隔ち麗意庄沿壊
鴛/或への豚棋今翌局砂隔ち麗意庄沿壊
Kenichi Kambara
?
Hello Flutterの肝におさえたいFlutterのポイント
Hello Flutterの肝におさえたいFlutterのポイント
Kenichi Kambara
?
Developing Android Apps for Google Assistant
Developing Android Apps for Google Assistant
Kenichi Kambara
?
Google Assistant鬋▲廛裼_k3つのポイント
Google Assistant鬋▲廛裼_k3つのポイント
Kenichi Kambara
?
10蛍で恬るGoogle Assistant鬋▲廛
10蛍で恬るGoogle Assistant鬋▲廛
Kenichi Kambara
?
[Kotlin茶氏] Hello Kotlinの肝におさえたいKotlinの娠侭
[Kotlin茶氏] Hello Kotlinの肝におさえたいKotlinの娠侭
Kenichi Kambara
?
Android O (Picture In Picture)秘T+g廾箭
Android O (Picture In Picture)秘T+g廾箭
Kenichi Kambara
?
粥稼糸姻看庄糸アプリの悪看岳鉛庄稼卞佩扮に壟囑した諒籾とI箭
粥稼糸姻看庄糸アプリの悪看岳鉛庄稼卞佩扮に壟囑した諒籾とI箭
Kenichi Kambara
?
Android O (Beta) Topics
Android O (Beta) Topics
Kenichi Kambara
?
Publishing Android Wear 2.0 Apps
Publishing Android Wear 2.0 Apps
Kenichi Kambara
?
Android Studio 2.3 New Features
Android Studio 2.3 New Features
Kenichi Kambara
?
Android 7.0 Nougat マルチウィンドウ盾hα
Android 7.0 Nougat マルチウィンドウ盾hα
Kenichi Kambara
?
晩云androidの氏協箭氏2016定6埖_Android Wear 2.0vB婢幣B初
晩云androidの氏協箭氏2016定6埖_Android Wear 2.0vB婢幣B初
Kenichi Kambara
?
Android Wear 恷仟トヒ?ック
Android Wear 恷仟トヒ?ック
Kenichi Kambara
?
[ABC2016S]Android Wear アプリ_k秘T
[ABC2016S]Android Wear アプリ_k秘T
Kenichi Kambara
?
粥稼糸姻看庄糸アプリの雨鴛/雨掛個鋲箭
粥稼糸姻看庄糸アプリの雨鴛/雨掛個鋲箭
Kenichi Kambara
?
[Google I/O 2018 Highlights] Sandbox
[Google I/O 2018 Highlights] Sandbox
Kenichi Kambara
?
[Google I/O 2018 Highlights] Flutter / WearOS
[Google I/O 2018 Highlights] Flutter / WearOS
Kenichi Kambara
?
"Hello Flutter"の肝におさえたいFlutterのポイントその3
"Hello Flutter"の肝におさえたいFlutterのポイントその3
Kenichi Kambara
?
Hello Flutterの肝におさえたいFlutterのポイントその2
Hello Flutterの肝におさえたいFlutterのポイントその2
Kenichi Kambara
?
鴛/或への豚棋今翌局砂隔ち麗意庄沿壊
鴛/或への豚棋今翌局砂隔ち麗意庄沿壊
Kenichi Kambara
?
Hello Flutterの肝におさえたいFlutterのポイント
Hello Flutterの肝におさえたいFlutterのポイント
Kenichi Kambara
?
Developing Android Apps for Google Assistant
Developing Android Apps for Google Assistant
Kenichi Kambara
?
Google Assistant鬋▲廛裼_k3つのポイント
Google Assistant鬋▲廛裼_k3つのポイント
Kenichi Kambara
?
10蛍で恬るGoogle Assistant鬋▲廛
10蛍で恬るGoogle Assistant鬋▲廛
Kenichi Kambara
?
[Kotlin茶氏] Hello Kotlinの肝におさえたいKotlinの娠侭
[Kotlin茶氏] Hello Kotlinの肝におさえたいKotlinの娠侭
Kenichi Kambara
?
Android O (Picture In Picture)秘T+g廾箭
Android O (Picture In Picture)秘T+g廾箭
Kenichi Kambara
?
粥稼糸姻看庄糸アプリの悪看岳鉛庄稼卞佩扮に壟囑した諒籾とI箭
粥稼糸姻看庄糸アプリの悪看岳鉛庄稼卞佩扮に壟囑した諒籾とI箭
Kenichi Kambara
?
Publishing Android Wear 2.0 Apps
Publishing Android Wear 2.0 Apps
Kenichi Kambara
?
Android Studio 2.3 New Features
Android Studio 2.3 New Features
Kenichi Kambara
?
Android 7.0 Nougat マルチウィンドウ盾hα
Android 7.0 Nougat マルチウィンドウ盾hα
Kenichi Kambara
?
晩云androidの氏協箭氏2016定6埖_Android Wear 2.0vB婢幣B初
晩云androidの氏協箭氏2016定6埖_Android Wear 2.0vB婢幣B初
Kenichi Kambara
?
Android Wear 恷仟トヒ?ック
Android Wear 恷仟トヒ?ック
Kenichi Kambara
?
[ABC2016S]Android Wear アプリ_k秘T
[ABC2016S]Android Wear アプリ_k秘T
Kenichi Kambara
?
粥稼糸姻看庄糸アプリの雨鴛/雨掛個鋲箭
粥稼糸姻看庄糸アプリの雨鴛/雨掛個鋲箭
Kenichi Kambara
?

Recently uploaded (20)

Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
?
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
?
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
?
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
?
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
?
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
?
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
?
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
?
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
?
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
?
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
?
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
?
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
?
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
?
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
?
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
?
Curietech AI in action - Accelerate MuleSoft development
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
?
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
?
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
?
The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
?
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
?
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
?
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
?
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
?
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
?
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
?
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
?
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
?
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
?
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
?
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
?
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
?
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
?
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
?
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
?
Curietech AI in action - Accelerate MuleSoft development
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
?
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
?
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
?
The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
?
Ad

^Hello Flutter ̄の肝におさえたい Flutterのポイント その4

  • 1. 2018.05.31 Kenichi Kambara (@korodroid) Flutter Meetup Tokyo #2 ^Hello Flutter ̄ Flutter
  • 3. ´
  • 5. ´
  • 6. About me ? ? ? Droidcon UK/FR/NL/ES/SH ? Developers Summit ? Android?Bazaar and Conference ? StackOver?ow DevDays ? Cloud Days ? ? Mobile Dev Blog ? Android ? NTT (@korodroid)
  • 7. Introduction ? ? ( ) 1/2/3 ? https://bit.ly/2IMOqmy (Flutter ) https://bit.ly/2ss1OpZ ( ) https://bit.ly/2sgjKnT ( ) https://bit.ly/2ss1OpZ
  • 17. >mkdir lib/l10n? >?utter pub pub run intl_translation:extract_to_arb --output-dir=lib/ l10n lib/stringresources.dart lib/l10n/? intl_messages.arb (Created) Step2.
  • 18. lib/l10n/? intl_messages.arb (○ intl_ja.arb intl_en.arb ) { "@@last_modified": "2018-05-29T16:57:33.089276", "appTitle": "Hello App", "@appTitle": { "type": "text", "placeholders": {} }, "appSummary": "App Summary", "@appSummary": { "type": "text", "placeholders": {} } } { "@@last_modified": "2018-05-29T16:57:33.089276", "appTitle": " ", "@appTitle": { "type": "text", "placeholders": {} }, "appSummary": " ", "@appSummary": { "type": "text", "placeholders": {} } } lib/i10n/intl_ja.arb lib/i10n/intl_en.arb Step2. (*.arb)
  • 19. lib/l10n/? intl_messages.arb (○ intl_ja.arb intl_en.arb ) { "@@last_modified": "2018-05-29T16:57:33.089276", "appTitle": "Hello App", "@appTitle": { "type": "text", "placeholders": {} }, "appSummary": "App Summary", "@appSummary": { "type": "text", "placeholders": {} } } { "@@last_modified": "2018-05-29T16:57:33.089276", "appTitle": " ", "@appTitle": { "type": "text", "placeholders": {} }, "appSummary": " ", "@appSummary": { "type": "text", "placeholders": {} } } lib/i10n/intl_ja.arb lib/i10n/intl_en.arb Step2. (*.arb)
  • 20. >?utter pub pub run intl_translation:generate_from_arb --output- dir=lib/l10n --no-use-deferred-loading lib/stringresources.dart lib/ l10n/intl_*.arb lib/l10n/? messages_ja.dart (Created)? messages_en.dart (Created)? messages_all.dart (Created)? messages_messages.dart (Created) Step2. (*.dart)
  • 21. [ ] Dart // DO NOT EDIT. This is code generated via package:intl/generate_localized.dart // This is a library that provides messages for a ja locale. All the // messages from the main program should be duplicated here with the same // function name. import 'package:intl/intl.dart'; import 'package:intl/message_lookup_by_library.dart'; final messages = new MessageLookup(); final _keepAnalysisHappy = Intl.defaultLocale; typedef MessageIfAbsent(String message_str, List args); class MessageLookup extends MessageLookupByLibrary { get localeName => 'ja'; final messages = _notInlinedMessages(_notInlinedMessages); static _notInlinedMessages(_) => <String, Function> { "appSummary" : MessageLookupByLibrary.simpleMessage(" "), "appTitle" : MessageLookupByLibrary.simpleMessage(" ") }; } lib/i10n/messages_ja.dart
  • 26. - Please let me know if you have any requests ? such as technical speeches, technical writings and so on. Facebook:http://fb.com/kanbara.kenichi Google+:+Kenichi Kambara LinkedIn:http://www.linkedin.com/in/korodroid Twitter:@korodroid Thank you so much.