initial commit

This commit is contained in:
nyne
2024-09-29 16:17:03 +08:00
commit f08c5cccb9
196 changed files with 16761 additions and 0 deletions

23
lib/network/download.dart Normal file
View File

@@ -0,0 +1,23 @@
import 'package:flutter/widgets.dart' show ChangeNotifier;
abstract class DownloadTask with ChangeNotifier {
int get current;
int get total;
double get progress => current / total;
bool get isComplete => current == total;
int get speed;
void cancel();
void pause();
void resume();
String get title;
String? get cover;
}