
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
- How to pass session from browser to a mo...
I have a self-hosted Appwrite container. I also have a www page (A) which should acts as login page for different www services (B). User click login in B, is re...
- Two steps signIn with one user:
'm using appwrite to try two phase login, step 1: await account.createAnonymousSession(); or final appwriteUser = await account.create( ...
- Registering new flutter app
Hi, ive got an already build flutter app which works in development with appwrite. but with the built version i get an error that the client is not registered. ...
