小编Ham*_*hir的帖子

错误:无法将参数类型“Null Function(DateTime, List<dynamic>)”分配给参数

我面临同样的问题

     Error: 
        The argument type 'Null Function(DateTime, List<dynamic>)' can't be assigned 
        to the parameter type 'void Function(DateTime, List<dynamic>, List<dynamic>)'.
        - 'DateTime' is from 'dart:core'. - 'List' is from 'dart:core'. 
        onDaySelected: (day, events) {
Run Code Online (Sandbox Code Playgroud)

dart flutter

8
推荐指数
3
解决办法
2129
查看次数

标签 统计

dart ×1

flutter ×1