Closed 4-alok closed 3 years ago
this line throw such error await retriever.setFile(File(song.path));
await retriever.setFile(File(song.path));
[ERROR:flutter/runtime/dart_isolate.cc(1137)] Unhandled exception: Null check operator used on a null value #0 MethodChannel.binaryMessenger package:flutter/…/services/platform_channel.dart:142 #1 MethodChannel._invokeMethod package:flutter/…/services/platform_channel.dart:148 #2 MethodChannel.invokeMethod package:flutter/…/services/platform_channel.dart:331 #3 MetadataRetriever.setFile package:flutter_media_metadata/flutter_media_metadata.dart:85 <asynchronous suspension> #4 GenerateThumbnails.isolatedThread package:ruminate/…/utils/generate_thumbnails.dart:38 <asynchronous suspension>
dart version sdk: '>=2.13.0 <3.0.0'
sdk: '>=2.13.0 <3.0.0'
@4-alok , please check that you gave permissions & file existence etc. The plugin is working fine for me.
this line throw such error
await retriever.setFile(File(song.path));
dart version
sdk: '>=2.13.0 <3.0.0'