flutter firebase ui google Google登录类“ _AssertionError”没有实例获取器“ details”

时间:2019-04-02 11:34:26

标签: android flutter google-signin firebaseui flutter-dependencies

FLutter应用程序和使用Firebase身份验证ui登录为什么显示此错误?这是一个有效的项目,但我只是更改了程序包名称并更新了所有的Firebase配置文件,但单击google登录按钮时显示此错误

  Error: Unhandled exception:
    NoSuchMethodError: Class '_AssertionError' has no instance getter 'details'.
    Receiver: Instance of '_AssertionError'
    Tried calling: details
    #0      Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:50:5)
    #1      _LoginViewState._handleGoogleSignIn (package:flutter_firebase_ui/login_view.dart:53:38)
    <asynchronous suspension>
    #2      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
    #3      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:562:30)
    #4      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
    #5      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
    #6      TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
    #7      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
    #8      _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:184:20)
    #9      _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:158:22)
    #10     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:138:7)
    #11     _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:101:7)
    #12     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:85:7)
    #13     _invoke1 (dart:ui/hooks.dart:168:13)
    #14     _dispatchPointerDataPacket (dart:ui/hooks.dart:122:5)

0 个答案:

没有答案