当前位置: 首页 > 知识库问答 >
问题:

如何解决?颤振(6629):[错误:颤振/lib/ui/ui_dart_state.cc(209)]未处理的异常:NoSuchMethodError

马胜泫
2023-03-14

有人能解决这个问题吗?

E/flutter (6629): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: NoSuchMethodError: The method 'createUserWithEmailAndPassword' was called on null.
E/flutter (6629): Receiver: null

E/flutter(6629):尝试呼叫: createUserSusEmailAndPassword(email:"nehalt88@gmail.com",密码:"123456")E/flutter(6629):#0Object.noSuchMethod(飞镖: core-patch/object_patch.dart:63: 5)E/flutter(6629):#1RegistrationScreen.registerNewUser(包:rider_app/AllScreens/registrationScreen.dart:189: 10)E/flutter(6629):#2RegistrationScreen.build.(包:rider_app/AllScreens/registrationScreen.dart:156: 27)E/flutter(6629):#3_InkResponseState_handleTap(包: flutter/src/材料/ink_well.dart:989: 21)E/flutter(6629):#4GestureRecognizer.invokeCallback(包: flutter/src/手势/recognizer.dart:193: 24)E/flutter(6629):#5TapGestureRecognizer.handleTapUp(包: flutter/src/手势/tap.dart:608: 11)E/flutter(6629):#6 BaseTapGesture识别器_checkUp(包: flutter/src/手势/tap.dart:296: 5)E/flutter(6629):#7BaseTapGestureRecognizer.acceptGesture(包: flutter#8GestureArenaManager.sweep(包:flutter/src/手势/arena.dart:157: 27)E/flutter(6629):#9GestureBinding.handleEvent(包:flutter/src/手势/binding.dart:444: 20)E/flutter(6629):#10GestureBinding.dispatchEvent(包:flutter/src/手势/_handlePointerEventImmediately: 22)E/flutter(6629):#11_flushPointerEventQueue(包:flutter/src/渲染/_handlePointerDataPacket: 11)E/flutter(6629):#12手势绑定binding.dart:420(包:flutter/src/手势/_rootRunUnary: 7)E/flutter(6629):#13_(包:flutter/src/手势/binding.dart:338: 5)E/flutter(6629):#14手势绑定RendererBinding.dispatchEvent(包:flutter/src/手势/binding.dart:296: 7)E/flutter(6629):#15手势绑定binding.dart:278(包:flutter/src/手势/binding.dart:279: 7)E/flutter(6629):#16binding.dart:374(飞镖: 19)E/flutter(6629):#18_CustomZone.runUnaryGuarded(dart: async/zone.dart:1244: 7)E/flutter(6629):#19_invoke1(dart: ui/hooks. dart: 185:10)E/flutter(6629):#20 PlatformDispatcher._dispatchPointerDataPacket(dart: ui/platform_dispatcher. dart: 293:7)E/flutter(6629):#21_dispatchPointerDataPacket(dart: ui/hooks. dart: 98:31)E/flutter(6629): W/IInputConnectionWrapper(6629): getSelectedText on inactive InputConnection W/IInputConnectionWrapper(6629): Request estCursorAnchorInfo on inactive InputConnection W/IInputConnectionWrapper(6629): getTextBeforeCouror on inactive InputConnection W/IInputConnectionWrapper(6629): getTextBeforeCouror on inactive InputConnection D/InputConnection

共有1个答案

席俊达
2023-03-14

您没有导入包含方法createUserSusEmailAndPassword的任何内容。如果您有代码片段,我可以为您指出更具体的方向。

 类似资料: