perbaikan on possale string 1
This commit is contained in:
@@ -31,9 +31,11 @@ class _BulkPurchaseUploaderState extends ConsumerState<BulkPurchaseUploader> {
|
||||
}
|
||||
|
||||
Future<void> createExcelFile() async {
|
||||
if (!await Permission.storage.request().isDenied) {
|
||||
EasyLoading.showError('Storage permission is required to create Excel file!');
|
||||
return;
|
||||
if (Platform.isAndroid || Platform.isIOS) {
|
||||
if (!await Permission.storage.request().isDenied) {
|
||||
EasyLoading.showError('Storage permission is required to create Excel file!');
|
||||
return;
|
||||
}
|
||||
}
|
||||
EasyLoading.show();
|
||||
final List<e.CellValue> excelData = [
|
||||
|
||||
Reference in New Issue
Block a user