Apply dart auto fixes
This commit is contained in:
@ -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();
|
||||
|
@ -15,7 +15,7 @@ class FileUploadDialog extends StatefulWidget {
|
||||
|
||||
final bool doShowFinish;
|
||||
|
||||
const FileUploadDialog({Key? key, required this.localPath, required this.remotePath, required this.fileName, required this.onUploadFinished, this.doShowFinish = true}) : super(key: key);
|
||||
const FileUploadDialog({super.key, required this.localPath, required this.remotePath, required this.fileName, required this.onUploadFinished, this.doShowFinish = true});
|
||||
|
||||
@override
|
||||
State<FileUploadDialog> createState() => _FileUploadDialogState();
|
||||
|
@ -20,7 +20,7 @@ import 'fileElement.dart';
|
||||
|
||||
class Files extends StatefulWidget {
|
||||
final List<String> path;
|
||||
const Files(this.path, {Key? key}) : super(key: key);
|
||||
const Files(this.path, {super.key});
|
||||
|
||||
@override
|
||||
State<Files> createState() => _FilesState();
|
||||
|
Reference in New Issue
Block a user