【发布时间】:2021-06-11 22:56:18
【问题描述】:
List<Map<String, String>> splashData = [
{"text": "EGZERSİZİNİ SEÇ", "image": "assets/logo/Splash1.png"},
{"text": "TELEFONUNU SABİTLE", "image": "assets/logo/Splash2.png"},
{"text": "UYARI", "image": "assets/logo/Splash3.png"}
];
我正在尝试将 3 个字符串添加到 Flutter 中的列表。我怎样才能将第三个字符串添加到我的列表中?
我想做的例子
List<Map<String, String, String> splashData :[
{"text": "EGZERSİZİNİ SEÇ", "image": "assets/logo/Splash1.png","text1": "EGZERSİZİNİ SEÇ"},
{"text": "TELEFONUNU SABİTLE", "image": "assets/logo/Splash2.png","text1":"EGZERSİZİNİ SEÇ"},
{"text": "UYARI", "image": "assets/logo/Splash3.png","text1": "EGZERSİZİNİ SEÇ"}];
这个可以加吗?
感谢您的回复。
【问题讨论】:
标签: list flutter dictionary