feat: Update image URL for liberation history item

The image URL for the liberation history item is updated to use a dynamic URL based on the liberation history item's data. This ensures that the correct image is displayed for each item.
This commit is contained in:
Jonatas Antunes Messias 2024-07-01 12:58:33 -03:00
parent 64f9a4fc06
commit 3fef05ecb1
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -265,11 +265,11 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
fadeOutDuration: const Duration(
milliseconds: 500),
imageUrl: valueOrDefault<String>(
'https://freaccess.com.br/freaccess/getImage.php?&cliID=${FFAppState().cliUUID}&atividade=getFoto&Documento=${getJsonField(
"https://freaccess.com.br/freaccess/getImage.php?&cliID=${FFAppState().cliUUID}&atividade=getFoto&Documento=${getJsonField(
liberationHistoryItem,
r'''$.VTE_ID''',
).toString()}&tipo=E',
'https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/flutter-freaccess-hub-0xgz9q/assets/7ftdetkzc3s0/360_F_64676383_LdbmhiNM6Ypzb3FM4PPuFP9rHe7ri8Ju.jpg',
).toString()}&tipo=E",
"https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/flutter-freaccess-hub-0xgz9q/assets/7ftdetkzc3s0/360_F_64676383_LdbmhiNM6Ypzb3FM4PPuFP9rHe7ri8Ju.jpg",
),
width: 80.0,
fit: BoxFit.cover,