TF-3586: Upgrade Flutter to 3.27.4

This commit is contained in:
DatDang
2025-03-25 15:53:01 +07:00
committed by Dat H. Pham
parent c7f5dc9e5e
commit 4fd0931c9e
109 changed files with 361 additions and 372 deletions
@@ -2,7 +2,6 @@
import 'dart:async';
import 'package:async/async.dart';
import 'package:collection/collection.dart';
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
import 'package:core/utils/app_logger.dart';
@@ -243,7 +242,7 @@ class UploadController extends BaseController {
void _refreshListUploadAttachmentState() {
listUploadAttachments.value =
_uploadingStateFiles.uploadingStateFiles.whereNotNull().toList();
_uploadingStateFiles.uploadingStateFiles.nonNulls.toList();
listUploadAttachments.refresh();
}
@@ -253,7 +252,7 @@ class UploadController extends BaseController {
}
return listUploadAttachments
.map((fileState) => fileState.attachment)
.whereNotNull()
.nonNulls
.toList();
}
@@ -263,7 +262,7 @@ class UploadController extends BaseController {
}
return listUploadAttachments
.map((fileState) => fileState.file)
.whereNotNull()
.nonNulls
.toList();
}