If I re render a new AdvancedNetworkImage after a failure with the same URL that failed, the image does not even seem to attempt to load (...seems like same old widget stays put). The use case I am trying to solve is reloading the image after the user manually requests it via a button tap (as opposed to auto-retry).
I can get around this by manually adding a header to the AdvancedNetworkImage that increments with a local retry count but it seems like a bit of a hack.
Is this kind of use case possible without manipulating the parameters? Below is code for reference.
For the record, I am fairly new to flutter, guessing that because the final values of AdvancedNetworkImage not changing between new instances is causing some sort of caching/ignoring somewhere because it is being treated as a equal instance. Sorry if this is a bad question
If I re render a new
AdvancedNetworkImage
after a failure with the same URL that failed, the image does not even seem to attempt to load (...seems like same old widget stays put). The use case I am trying to solve is reloading the image after the user manually requests it via a button tap (as opposed to auto-retry).I can get around this by manually adding a header to the
AdvancedNetworkImage
that increments with a local retry count but it seems like a bit of a hack.Is this kind of use case possible without manipulating the parameters? Below is code for reference.
For the record, I am fairly new to flutter, guessing that because the final values of
AdvancedNetworkImage
not changing between new instances is causing some sort of caching/ignoring somewhere because it is being treated as a equal instance. Sorry if this is a bad question