HassanShaban
Results
3
comments of
HassanShaban
@howmun Thank you very much :)
@pragma('vm:entry-point') add this annotation above callback :)
@pragma('vm:entry-point') static void downloadCallback( String id, DownloadTaskStatus status, int progress) { print( 'Background Isolate Callback: task ($id) is in status ($status) and process ($progress)'); final SendPort send = IsolateNameServer.lookupPortByName('downloader_send_port')!; send.send([id,...