cool-518
cool-518
上面大部分有有个问题,不一定try-catch报错了才reject,得到不符合预期的结果也是reject的
同样的问题
同样的问题,感觉这里有bug呀。 VideoPlayerController createVideoPlayerController() { final netRegx = new RegExp(r'^(http|https):\/\/([\w.]+\/?)\S*'); final fileRegx = new RegExp(r'^(file):\/\/([\w.]+\/?)\S*'); final isNetwork = netRegx.hasMatch(widget.dataSource); final isFile = fileRegx.hasMatch(widget.dataSource); return VideoPlayerController.file(widget.dataSource); if (isNetwork) { return VideoPlayerController.network(widget.dataSource); }...
这种题目没有代表性,建议删掉吧
麻烦把题目表述清楚行吗?装什么呢,中文没学好?
@wangyingjie123 楼上的,写的对不对自己没数吗?能不能自己充分验证了再发出来?
@Genzhen 写的明显有问题还那么多人点赞,笑死
赞。大佬2023年还没看到你更新呢