This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:core'; | |
| void main() { | |
| List<String> texts= ['太郎','個体耳標 12383-0400-7','こたろう','平成 18年 2月 1日生']; | |
| // print('${texts.whereType(String)}'); | |
| void getNumber(List<String>texts,String query){ | |
| switch(query){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Text( | |
| '右上のメニューボタンから登録できます', | |
| softWrap: true, | |
| overflow: TextOverflow.ellipsis, | |
| style: TextStyle(fontSize: 18), | |
| ), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://dartpad.dartlang.org/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:io'; | |
| void main() async { | |
| task1(); | |
| String text = await task2(); | |
| task3(text); | |
| } | |
| void task1() { | |
| print('task1 completed'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Map<String ,int> phoneBook = { | |
| 'Kyle' : 1234567832, | |
| 'Amy' : 1234223543, | |
| 'Michel' : 988347345, | |
| }; | |
| main(){ | |
| print(phoneBook['Amy']); | |
| phoneBook['Kevin'] = 393484728128; | |
| print(phoneBook['Kevin']); |
NewerOlder