FirebaseAuth auth = FirebaseAuth.instance;中的FirebaseAuth抛出错误有什么原因吗?我得到的错误是: Target of URI doesn't exist: 'package:firebase_auth/firebase_auth.dart'.Try creating the file referenced by the URI, or Try
我想从firestore中获取认证用户的数据,并将它们放在flutter中的变量中,我不需要在屏幕上显示它们,我只想将它们存储在变量中:我创建了文件data.dart,它只有变量。这是包含变量的文件(data.dart)(我没有statefull部件或无状态部件): ? 下面是我调用变量(firbaseapi.dart)的文件: ? username here
String myUrlAvatar = 'http//kdkskdskd'; // I wa