flutter错误提示
Muchen灬
这个作者很懒,什么都没留下…
展开
-
flutter报错 -- The argument type ‘Function‘ can‘t be assigned to the parameter type ‘void Function()?‘
flutter报错信息:The argument type ‘Function’ can’t be assigned to the parameter type ‘void Function()?’参数类型“Function”不能被赋值给参数类型“void Function()?”声明函数方法改为:Function dataDelete; //报错final void Function() dataDelete; //改成这个,不报错...原创 2022-03-05 10:04:39 · 11301 阅读 · 2 评论 -
Flutter错误提示-- This expression has a type of ‘void‘ so its value can‘t be used.
Flutter错误提示:This expression has a type of ‘void’ so its value can’t be used.Try checking to see if you’re using the correct API; there might be a function or call that returns void you didn’t expect.Also check type parameters and variables which might a原创 2022-03-05 10:00:03 · 5434 阅读 · 0 评论