How to get Image from S3 Bucket in Flutter? I did use Javascript This is my Javascript code How to di it using Flutter?
C# code also check please How to generate Authentication code for S3 Bucket in Dart Flutter
if (database.empImg != null) {
//$("#employeeImg").attr('src', '../../Employee_IMG/' + database.empImg + '?date=' + new Date());
$.ajax({
url: '../../webrequ/Acc/GetAuthenticationKey',
data: {},
dataType: "json",
type: "GET",
cache: false,
success: function(data) {
var s3Service = localStorage.getItem("S3Service");
var siteId = localStorage.getItem("SiteId");
var fileName2 = database.comImg;
var Url = s3Service + "?fileName=" + result.empImg + "&siteCode=" + siteId + "&Key=" + encodeURIComponent(data);
$("#employeeImg").attr('src', Url);
}
});
}