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:
parent
64f9a4fc06
commit
3fef05ecb1
File diff suppressed because one or more lines are too long
|
@ -265,11 +265,11 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
||||||
fadeOutDuration: const Duration(
|
fadeOutDuration: const Duration(
|
||||||
milliseconds: 500),
|
milliseconds: 500),
|
||||||
imageUrl: valueOrDefault<String>(
|
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,
|
liberationHistoryItem,
|
||||||
r'''$.VTE_ID''',
|
r'''$.VTE_ID''',
|
||||||
).toString()}&tipo=E',
|
).toString()}&tipo=E",
|
||||||
'https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/flutter-freaccess-hub-0xgz9q/assets/7ftdetkzc3s0/360_F_64676383_LdbmhiNM6Ypzb3FM4PPuFP9rHe7ri8Ju.jpg',
|
"https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/flutter-freaccess-hub-0xgz9q/assets/7ftdetkzc3s0/360_F_64676383_LdbmhiNM6Ypzb3FM4PPuFP9rHe7ri8Ju.jpg",
|
||||||
),
|
),
|
||||||
width: 80.0,
|
width: 80.0,
|
||||||
fit: BoxFit.cover,
|
fit: BoxFit.cover,
|
||||||
|
|
Loading…
Reference in New Issue