You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm implementing a two-page OTP e-mail sign in, where the first page has a text input for the e-mail and the second a text input for the code received.
My back-end requires me to send the e-mail address along with the code for validation, but I could not figure out how to send the e-mail from the first step to the second (I end up using a ValueNotifier<String> and sending it to the constructor of the second page, so it could read the actual value, set by the first page).
It would be nice if we could set variables to the current WoltModalSheet, using one (or both) of these options:
final email =WoltModelSheet.of(context).parameter asString; // for the first case// orfinal email =WoltModelSheet.of(context).bucket["email"] asString; // for the second case
The text was updated successfully, but these errors were encountered:
What feature would you like to see?
I'm implementing a two-page OTP e-mail sign in, where the first page has a text input for the e-mail and the second a text input for the code received.
My back-end requires me to send the e-mail address along with the code for validation, but I could not figure out how to send the e-mail from the first step to the second (I end up using a
ValueNotifier<String>
and sending it to the constructor of the second page, so it could read the actual value, set by the first page).It would be nice if we could set variables to the current WoltModalSheet, using one (or both) of these options:
In the second page, we could get the parameters:
The text was updated successfully, but these errors were encountered: