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?
Summary
Developers are looking for guidance on how to extend the account creation process in a Flutter app. They mention that they usually use the `account.create()` method from the Appwrite library, but they want to also collect additional information like the user's gender. They provide a link to learn more about preferences.
Solution: To extend the create method, developers can collect all the necessary information before calling `account.create()`, and then pass that information as additional parameters to the method. They can also store the additional information in preferences or a database depending on their preferences. The developers are advised to refer to the link provided for more information on using
kamal.panara
Jan 30, 2024, 13:53
you can store such information in preferences of user's account or in database.