TF-2172 Add DropZone widget

(cherry picked from commit 72f5f04800c1bb56118676b44cf0102ba14ef034)
This commit is contained in:
dab246
2023-10-02 15:07:33 +07:00
committed by Dat H. Pham
parent 20fd8ebdee
commit 5b8c45586b
9 changed files with 148 additions and 1 deletions
@@ -218,6 +218,8 @@ extension AppColor on Color {
static const colorSelected = Color(0xFFE3F1FF);
static const colorAttachmentBorder = Color(0xFFE5ECF3);
static const colorProgressLoadingBackground = Color(0xFFE3F1FF);
static const colorDropZoneBackground = Color(0xFFF6FAFF);
static const colorDropZoneBorder = Color(0xFF46A2FF);
static const mapGradientColor = [
[Color(0xFF21D4FD), Color(0xFFB721FF)],
@@ -203,6 +203,7 @@ class ImagePaths {
String get icAttachFile => _getImagePath('ic_attach_file.svg');
String get icSend => _getImagePath('ic_send.svg');
String get icReadReceipt => _getImagePath('ic_read_receipt.svg');
String get icDropZoneIcon => _getImagePath('ic_drop_zone_icon.svg');
String _getImagePath(String imageName) {
return AssetsPaths.images + imageName;