回答編集履歴

1

誤字修正

2020/10/06 00:03

投稿

toast-uz
toast-uz

スコア3266

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  やりたいことは、文字列をキーに、何かオブジェクトを得たい、ということですので、
6
6
 
7
- `static conct Map<String, dynamic> color_from_name = {'red': Colors.red, 'blue': Colors.blue, ...}`
7
+ `static const Map<String, dynamic> color_from_name = {'red': Colors.red, 'blue': Colors.blue, ...}`
8
8
 
9
9
  といった辞書を作っておいて、
10
10