v1.0.3
isolated_download_manager
पुन: उपयोग किए जाने वाले आइसोलेट्स पर आधारित फ़ाइल डाउनलोड मैनेजर जिसमें प्रगति, रद्द करना, अस्थायी रूप से रोकना और फिर से शुरू करना है
28लाइक 26630-दिन डाउनलोड160Pub अंक
AndroidiOSmacOSWindowsLinux
प्रगति, रद्द करना, अस्थायी रूप से रोकना और पुनः शुरू करने वाला अलग डाउनलोड मैनेजर
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
File download manager based on reusable isolates with progress, cancellation, pause and resume
http dependencyInclude latest version from pub.dev to pubspec.yaml
// initialize
await DownloadManager.instance.init(isolates: 3);
// download
final request = DownloadManager.instance.download(url);
// listen to state changes
request.events.listen((event) { ... }
// control the task
request.pause();
request.resume();
request.cancel();
Example full source code available at example's directory
For resumable downloads download_task package is used