I want to make a register screen with captcha and the api I am using is sending the raw image bytes and in header a secret value to validate the captcha. I want to take the bytes from http.get and show them to image.memory in my register screen and also save the timeStamp for submitting data.
I have a register.dart file where I have all the UI. Then a getCaptcha.dart file containing a future function to get the captcha and header.