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
- Push Notification FCM Error
Hello dear people. I tried to integrate Push Notifications into my Flutter App. Everything works fine on Android/iOS Simulator + Testflight but as soon as I s...
- Skip total counts crash the query
Hello, When adding the total parameter (either true, the default, or false) to the listRows function, it raises the following error: `type 'bool' is not a sub...
- Attach Dart debugger for locally deploye...
Hello there, I was wondering if it is possible to attach debugger to dart function, that I run locally. It would make development much easier :-). Thank you.