我需要在飞镖中转换List<String>为 a String。
我想从首选项中提取列表的值。我已经尝试过这个实现,但它只给了我最后一个值。
Future<List<String>> services = SharedPrefSignUp.getSelectedServices();
services.then((onValue){
List<String>servicesList=onValue;
selectServicesText=servicesList.join(",");
});
Run Code Online (Sandbox Code Playgroud) 我必须创建AppDelegate的sharedInstance并在我的应用程序中使用任何地方.
appdelegate ×1
converters ×1
dart ×1
flutter ×1
ios ×1
iphone ×1
list ×1
objective-c ×1
swift ×1