Results 2 comments of Wei

video.dart 下面的createVideoPlayerController方法有这一行 final isFile = fileRegx.hasMatch(RegExp(r'^(file):\/\/([\w.]+\/?)\S*')); 假设我有一个file对象 File file file.path 的值为 /data/xxx/xxx.mp4 传入 file对象,报 'LocalFile' is not a subtype of type 'String' 因为不是String对象 传 file.path 值为 /data/xxx/xxx.mp4 前面没有file:// 所以 isFile判断失败...