我有一个自定义的肌肉类: class Muscle { final String name;
required this.id,required this.name,} 我正在使用一个名为multi_select_flutter的包,并且在从值赋给_selectedMuscles时遇到了一个问题: MultiSelectChipField: A value of type '<e
我正在尝试使用一个列表(自定义类型),但遇到错误。 当我尝试使用getData()函数时。如下所示。A value of type 'Future<List<UserVideo>>' can't be assigned to a variable of type 'List<UserVideo>'.以下是函数的代码。); } catch (e) {
print("Exception Caugh
我列出了temp并调用了函数list,但是发生了这个错误 此错误仅在更新颤动后发生 A value of type 'List<dynamic>' can't be assigned to a variableof type 'List<int>'.List<int> arr = []; [3,4],
[3,5]
notificationsLastArchiveDate: DateTime.parse(json['notificationsLastArchiveDate'])我正在尝试创建从http接收数据的Getxprint("Can't get stat: ${value.statusCode}");我收到一个错误:
A value of type 'Rx<Future<List所以我应该使用另一种类型<