updated project style guidelines

This commit is contained in:
2024-04-03 19:18:17 +02:00
parent 27618f4404
commit 4c7f53e309
185 changed files with 505 additions and 873 deletions

View File

@ -6,7 +6,7 @@ class FilePick {
static final _picker = ImagePicker();
static Future<XFile?> galleryPick() async {
final XFile? pickedImage = await _picker.pickImage(source: ImageSource.gallery);
final pickedImage = await _picker.pickImage(source: ImageSource.gallery);
if (pickedImage != null) {
return pickedImage;
}
@ -14,7 +14,7 @@ class FilePick {
}
static Future<String?> documentPick() async {
FilePickerResult? result = await FilePicker.platform.pickFiles();
var result = await FilePicker.platform.pickFiles();
return result?.files.single.path;
}
}
}