
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
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
- Google OAuth2 Login Gets Stuck in Redire...
I'm facing an issue with the Google OAuth2 login flow on my Flutter Android app using the Appwrite SDK. After a successful sign-in with Google, the browser ente...
- Facebook OAuth with Appwrite Cloud fails...
I’m integrating Facebook login in my Flutter app using Appwrite Cloud. Google OAuth works fine, but I’m stuck with Facebook. Here’s what happens: When I log i...
