Apply dart auto fixes

This commit is contained in:
2024-01-14 11:58:16 +01:00
parent b0bddb5cd7
commit 9edbfd81af
29 changed files with 29 additions and 31 deletions

View File

@ -21,7 +21,7 @@ class FileElement extends StatefulWidget {
final CacheableFile file;
final List<String> path;
final void Function() refetch;
const FileElement(this.file, this.path, this.refetch, {Key? key}) : super(key: key);
const FileElement(this.file, this.path, this.refetch, {super.key});
static Future<DownloaderCore> download(BuildContext context, String remotePath, String name, Function(double) onProgress, Function(OpenResult) onDone) async {
Directory paths = await getTemporaryDirectory();