Adoird build migration and update
This commit is contained in:
parent
04f034971f
commit
7a5c8721dd
1062 changed files with 143083 additions and 221 deletions
|
|
@ -164,11 +164,9 @@ class _PatientDocumentsState extends State<PatientDocuments> {
|
|||
const SizedBox(width: 10),
|
||||
MihButton(
|
||||
onPressed: () async {
|
||||
FilePickerResult? result =
|
||||
await FilePicker.platform.pickFiles(
|
||||
FilePickerResult? result = await FilePicker.pickFiles(
|
||||
type: FileType.custom,
|
||||
allowedExtensions: ['jpg', 'png', 'pdf'],
|
||||
withData: true,
|
||||
);
|
||||
if (result == null) return;
|
||||
final selectedFile = result.files.first;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue