
in flutter I do most of time try {
account.create(
userId: ID.unique(), email: email, password: pwd, name: name);
showSnackBar(context, "Account Created!");
} on AppwriteException catch (e) {
showSnackBar(context, e.toString());
debugPrint(e.toString());
}
but what if I want to take gender of user too? or some another information to show them true different content with their signs? How to extend this create method? Or any other way?

you can store such information in preferences of user's account or in database.

learn more about preferences here: https://appwrite.io/docs/references/cloud/client-flutter/account#updatePrefs

in creation phase or later ?

it's all upto you on how you are collecting and storing information on your frontend (flutter app).

you can collect all information first and then create account at the end as well as store the information.

either to database or preferences.

however you like.
Recommended threads
- Redirect URL sends HTTP instead of HTTPS...
I am not sure since when this issue is present, but my Google and Apple redirect URI are no longer pointing to the HTTPS redirect URI when I try to use OAuth. ...
- Failing to run document operations on sd...
Could someone point me in the right direction I'm going in cirlces. I have a problem with sdks and my self-hosted server in production (for ~3 years) I have bee...
- Functions fail to deploy after switching...
Hi <@1087889306208718959> , after switching my self-hosted Appwrite instance to use AWS S3 as the storage backend, my Cloud Functions stopped working. I’m runni...
