Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProfileScreen Exception: Null check operator used on a null value #306

Open
1 task done
reimager opened this issue Mar 13, 2024 · 4 comments
Open
1 task done

ProfileScreen Exception: Null check operator used on a null value #306

reimager opened this issue Mar 13, 2024 · 4 comments
Labels
auth bug Something isn't working

Comments

@reimager
Copy link

reimager commented Mar 13, 2024

Is there an existing issue for this?

  • I have searched the existing issues and found no duplicates.

What plugin is this bug for?

Firebase UI Auth

What platform(s) does this bug affect?

No response

List of dependencies used.

flutter pub deps -s list
Dart SDK 3.3.0
Flutter SDK 3.19.2

dependencies:

  • flutter 0.0.0
    • characters 1.3.0
    • collection 1.18.0
    • material_color_utilities 0.8.0
    • meta 1.11.0
    • vector_math 2.1.4
    • sky_engine any
  • flutter_localizations 0.0.0
    • flutter any
    • intl 0.18.1
    • characters 1.3.0
    • clock 1.1.1
    • collection 1.18.0
    • material_color_utilities 0.8.0
    • meta 1.11.0
    • path 1.9.0
    • vector_math 2.1.4
  • web 0.4.2
  • cupertino_icons 1.0.6
  • google_fonts 6.1.0
    • flutter any
    • http ^1.0.0
    • path_provider ^2.0.0
    • crypto ^3.0.0
  • image 4.1.7
    • archive ^3.4.0
    • meta ^1.3.0
    • xml ^6.0.1
  • image_picker 1.0.7
    • flutter any
    • image_picker_android ^0.8.7
    • image_picker_for_web >=2.2.0 <4.0.0
    • image_picker_ios ^0.8.8
    • image_picker_linux ^0.2.1
    • image_picker_macos ^0.2.1
    • image_picker_platform_interface ^2.8.0
    • image_picker_windows ^0.2.1
  • image_gallery_saver 2.0.3
    • flutter any
  • file_saver 0.2.11
    • flutter any
    • flutter_web_plugins any
    • path_provider ^2.1.2
    • path_provider_windows ^2.2.1
    • path_provider_linux ^2.2.1
    • dio ^5.4.0
  • percent_indicator 4.2.3
    • flutter any
  • synchronized 3.1.0+1
  • http 1.2.0
    • async ^2.5.0
    • http_parser ^4.0.0
    • meta ^1.3.0
    • web >=0.3.0 <0.5.0
  • path_provider 2.1.2
    • flutter any
    • path_provider_android ^2.1.0
    • path_provider_foundation ^2.3.0
    • path_provider_linux ^2.2.0
    • path_provider_platform_interface ^2.1.0
    • path_provider_windows ^2.2.0
  • flutter_colorpicker 1.0.3
    • flutter any
  • permission_handler 11.3.0
    • flutter any
    • meta ^1.7.0
    • permission_handler_android ^12.0.3
    • permission_handler_apple ^9.4.0
    • permission_handler_html ^0.1.1
    • permission_handler_windows ^0.2.1
    • permission_handler_platform_interface ^4.2.0
  • share_plus 7.2.2
    • cross_file ^0.3.3+4
    • meta ^1.8.0
    • mime ^1.0.4
    • flutter any
    • flutter_web_plugins any
    • share_plus_platform_interface ^3.3.1
    • file >=6.1.4 <8.0.0
    • url_launcher_web ^2.0.16
    • url_launcher_windows ^3.0.6
    • url_launcher_linux ^3.0.5
    • url_launcher_platform_interface ^2.1.2
    • ffi ^2.0.1
    • win32 >=4.0.0 <6.0.0
  • provider 6.1.1
    • collection ^1.15.0
    • flutter any
    • nested ^1.0.0
  • shared_preferences 2.2.2
    • flutter any
    • shared_preferences_android ^2.1.0
    • shared_preferences_foundation ^2.2.0
    • shared_preferences_linux ^2.2.0
    • shared_preferences_platform_interface ^2.3.0
    • shared_preferences_web ^2.1.0
    • shared_preferences_windows ^2.2.0
  • url_launcher 6.2.5
    • flutter any
    • url_launcher_android ^6.2.0
    • url_launcher_ios ^6.2.0
    • url_launcher_linux ^3.1.0
    • url_launcher_macos ^3.1.0
    • url_launcher_platform_interface ^2.2.0
    • url_launcher_web ^2.2.0
    • url_launcher_windows ^3.1.0
  • page_view_indicators 2.0.0
    • flutter any
  • rate_my_app 2.0.0
    • shared_preferences >=2.0.0 <3.0.0
    • flutter_rating_bar >=4.0.0 <5.0.0
    • flutter any
  • cached_network_image 3.3.1
    • cached_network_image_platform_interface ^4.0.0
    • cached_network_image_web ^1.1.1
    • flutter any
    • flutter_cache_manager ^3.3.1
    • octo_image ^2.0.0
  • purchases_flutter 6.21.1
    • flutter any
    • freezed_annotation ^2.0.1
    • json_annotation ^4.8.0
  • google_sign_in 6.2.1
    • flutter any
    • google_sign_in_android ^6.1.0
    • google_sign_in_ios ^5.7.0
    • google_sign_in_platform_interface ^2.4.0
    • google_sign_in_web ^0.12.0
  • sign_in_with_apple 5.0.0
    • flutter any
    • meta ^1.3.0
    • sign_in_with_apple_platform_interface ^1.0.0
    • sign_in_with_apple_web ^1.0.0
  • firebase_analytics 10.8.6
    • firebase_analytics_platform_interface ^3.9.6
    • firebase_analytics_web ^0.5.5+18
    • firebase_core ^2.25.4
    • firebase_core_platform_interface ^5.0.0
    • flutter any
  • firebase_crashlytics 3.4.15
    • firebase_core ^2.25.4
    • firebase_core_platform_interface ^5.0.0
    • firebase_crashlytics_platform_interface ^3.6.22
    • flutter any
    • stack_trace ^1.10.0
  • upgrader 9.0.0
    • flutter any
    • device_info_plus >=8.1.0 <10.0.0
    • html ^0.15.3
    • http >=0.13.6 <2.0.0
    • os_detect ^2.0.1
    • package_info_plus >=4.0.1 <6.0.0
    • shared_preferences >=2.1.1 <3.0.0
    • url_launcher ^6.1.11
    • version ^3.0.2
    • xml ^6.3.0
  • package_info_plus 5.0.1
    • ffi ^2.0.1
    • flutter any
    • flutter_web_plugins any
    • http >=0.13.5 <2.0.0
    • meta ^1.8.0
    • path ^1.8.2
    • package_info_plus_platform_interface ^2.0.1
    • web >=0.3.0 <0.5.0
    • win32 >=4.0.0 <6.0.0
  • dropdown_button2 2.3.9
    • flutter any
    • meta ^1.9.1
  • carousel_slider 4.2.1
    • flutter any
  • device_info_plus 9.1.2
    • device_info_plus_platform_interface ^7.0.0
    • ffi ^2.0.1
    • file >=6.1.4 <8.0.0
    • flutter any
    • flutter_web_plugins any
    • meta ^1.8.0
    • win32 >=4.0.0 <6.0.0
    • win32_registry ^1.1.0
  • language_code 0.4.0
    • flutter any
  • dio 5.4.1
    • async ^2.8.2
    • http_parser ^4.0.0
    • meta ^1.5.0
    • path ^1.8.0
  • youtube_player_flutter 9.0.0
    • flutter any
    • flutter_inappwebview ^6.0.0
  • visibility_detector 0.4.0+2
    • flutter any
  • responsive_grid 2.4.4
    • flutter any
  • flutter_image_compress 2.1.0
    • flutter any
    • flutter_image_compress_platform_interface ^1.0.3
    • flutter_image_compress_common ^1.0.3
    • flutter_image_compress_web ^0.1.3+2
    • flutter_image_compress_macos ^1.0.1
  • firebase_core 2.25.4
    • firebase_core_platform_interface ^5.0.0
    • firebase_core_web ^2.11.4
    • flutter any
    • meta ^1.8.0
  • firebase_auth 4.17.5
    • firebase_auth_platform_interface ^7.1.5
    • firebase_auth_web ^5.9.5
    • firebase_core ^2.25.4
    • firebase_core_platform_interface ^5.0.0
    • flutter any
    • meta ^1.8.0
  • facebook_app_events 0.19.0
    • flutter any
  • firebase_ui_auth 1.13.0
    • email_validator ^2.1.17
    • firebase_auth ^4.15.3
    • firebase_core ^2.24.2
    • firebase_dynamic_links ^5.4.8
    • firebase_ui_localizations ^1.10.2
    • firebase_ui_oauth ^1.5.0
    • firebase_ui_shared ^1.4.1
    • flutter any
    • flutter_localizations any
    • meta ^1.10.0
  • firebase_ui_oauth 1.5.0
    • desktop_webview_auth ^0.0.14
    • firebase_auth ^4.15.3
    • firebase_ui_auth ^1.13.0
    • firebase_ui_shared ^1.4.1
    • flutter_svg ^2.0.9
    • flutter any
  • firebase_ui_oauth_google 1.2.14
    • firebase_auth ^4.11.1
    • firebase_ui_oauth ^1.4.14
    • flutter any
    • google_sign_in ^6.1.0
  • firebase_ui_oauth_apple 1.2.18
    • firebase_auth ^4.15.3
    • firebase_ui_oauth ^1.5.0
    • flutter any
  • firebase_ui_localizations 1.10.2
    • flutter any
    • flutter_localizations any
    • path ^1.8.3
  • firebase_messaging 14.7.16
    • firebase_core ^2.25.4
    • firebase_core_platform_interface ^5.0.0
    • firebase_messaging_platform_interface ^4.5.24
    • firebase_messaging_web ^3.6.5
    • flutter any
    • meta ^1.8.0
  • flutter_launcher_icons 0.13.1
    • args ^2.3.2
    • checked_yaml ^2.0.2
    • cli_util ^0.4.0
    • image ^4.0.15
    • json_annotation ^4.8.0
    • path ^1.8.2
    • yaml ^3.1.1

dev dependencies:

  • flutter_test 0.0.0
    • flutter any
    • test_api 0.6.1
    • matcher 0.12.16+1
    • path 1.9.0
    • fake_async 1.3.1
    • clock 1.1.1
    • stack_trace 1.11.1
    • vector_math 2.1.4
    • leak_tracker_flutter_testing 2.0.1
    • async 2.11.0
    • boolean_selector 2.1.1
    • characters 1.3.0
    • collection 1.18.0
    • leak_tracker 10.0.0
    • leak_tracker_testing 2.0.1
    • material_color_utilities 0.8.0
    • meta 1.11.0
    • source_span 1.10.0
    • stream_channel 2.1.2
    • string_scanner 1.2.0
    • term_glyph 1.2.1
    • vm_service 13.0.0
  • flutter_lints 3.0.1
    • lints ^3.0.0
  • auto_translator 2.3.0+1
    • args ^2.4.2
    • http ^1.0.0
    • yaml ^3.1.2
  • build_runner 2.4.8
    • analyzer >=4.4.0 <7.0.0
    • args ^2.0.0
    • async ^2.5.0
    • build >=2.1.0 <2.5.0
    • build_config >=1.1.0 <1.2.0
    • build_daemon ^4.0.0
    • build_resolvers ^2.0.0
    • build_runner_core ^7.2.0
    • code_builder ^4.2.0
    • collection ^1.15.0
    • crypto ^3.0.0
    • dart_style ^2.0.0
    • frontend_server_client ^3.0.0
    • glob ^2.0.0
    • graphs ^2.2.0
    • http_multi_server ^3.0.0
    • io ^1.0.0
    • js >=0.6.3 <0.8.0
    • logging ^1.0.0
    • meta ^1.3.0
    • mime ^1.0.0
    • package_config ^2.0.0
    • path ^1.8.0
    • pool ^1.5.0
    • pub_semver ^2.0.0
    • pubspec_parse ^1.0.0
    • shelf ^1.0.0
    • shelf_web_socket ^1.0.0
    • stack_trace ^1.10.0
    • stream_transform ^2.0.0
    • timing ^1.0.0
    • watcher ^1.0.0
    • web_socket_channel ^2.0.0
    • yaml ^3.0.0
  • build_web_compilers 4.0.9
    • analyzer >=5.1.0 <7.0.0
    • archive ^3.0.0
    • bazel_worker ^1.0.0
    • build ^2.0.0
    • build_config ^1.0.0
    • build_modules ^5.0.0
    • collection ^1.15.0
    • glob ^2.0.0
    • js >=0.6.3 <0.8.0
    • logging ^1.0.0
    • path ^1.8.0
    • pool ^1.5.0
    • scratch_space ^1.0.0
    • source_maps ^0.10.10
    • source_span ^1.8.0
    • stack_trace ^1.10.0

transitive dependencies:

  • _fe_analyzer_shared 67.0.0
    • meta ^1.9.0
  • _flutterfire_internals 1.3.22
    • collection ^1.0.0
    • firebase_core ^2.25.4
    • firebase_core_platform_interface ^5.0.0
    • flutter any
    • meta ^1.8.0
  • analyzer 6.4.1
    • _fe_analyzer_shared ^67.0.0
    • collection ^1.17.0
    • convert ^3.0.0
    • crypto ^3.0.0
    • glob ^2.0.0
    • meta ^1.11.0
    • package_config ^2.0.0
    • path ^1.8.0
    • pub_semver ^2.1.4
    • source_span ^1.8.0
    • watcher ^1.1.0
    • yaml ^3.0.0
  • archive 3.4.10
    • crypto ^3.0.3
    • path ^1.8.0
    • pointycastle ^3.7.3
  • args 2.4.2
  • async 2.11.0
    • collection ^1.15.0
    • meta ^1.1.7
  • bazel_worker 1.1.0
    • async ^2.5.0
    • protobuf ^3.0.0
  • boolean_selector 2.1.1
    • source_span ^1.8.0
    • string_scanner ^1.1.0
  • build 2.4.1
    • analyzer >=1.5.0 <7.0.0
    • async ^2.5.0
    • convert ^3.0.0
    • crypto ^3.0.0
    • glob ^2.0.0
    • logging ^1.0.0
    • meta ^1.3.0
    • package_config ^2.1.0
    • path ^1.8.0
  • build_config 1.1.1
    • checked_yaml ^2.0.0
    • json_annotation ^4.5.0
    • path ^1.8.0
    • pubspec_parse ^1.0.0
    • yaml ^3.0.0
  • build_daemon 4.0.1
    • built_collection ^5.0.0
    • built_value ^8.1.0
    • crypto ^3.0.3
    • http_multi_server ^3.0.0
    • logging ^1.0.0
    • path ^1.8.0
    • pool ^1.5.0
    • shelf ^1.0.0
    • shelf_web_socket ^1.0.0
    • stream_transform ^2.0.0
    • watcher ^1.0.0
    • web_socket_channel ^2.0.0
  • build_modules 5.0.7
    • analyzer >=5.1.0 <7.0.0
    • async ^2.5.0
    • bazel_worker ^1.0.0
    • build ^2.0.0
    • build_config ^1.0.0
    • collection ^1.15.0
    • crypto ^3.0.0
    • glob ^2.0.0
    • graphs ^2.0.0
    • json_annotation ^4.3.0
    • logging ^1.0.0
    • path ^1.8.0
    • scratch_space ^1.0.0
    • stream_transform ^2.0.0
  • build_resolvers 2.4.2
    • analyzer >=5.12.0 <7.0.0
    • async ^2.5.0
    • build ^2.0.0
    • collection ^1.17.0
    • convert ^3.1.1
    • crypto ^3.0.0
    • graphs >=1.0.0 <3.0.0
    • logging ^1.0.0
    • package_config ^2.0.0
    • path ^1.8.0
    • pool ^1.5.0
    • pub_semver ^2.0.0
    • stream_transform ^2.0.0
    • yaml ^3.0.0
  • build_runner_core 7.3.0
    • async ^2.5.0
    • build ^2.4.0
    • build_config ^1.0.0
    • build_resolvers ^2.4.0
    • collection ^1.15.0
    • convert ^3.0.0
    • crypto ^3.0.0
    • glob ^2.0.0
    • graphs ^2.0.0
    • json_annotation ^4.8.1
    • logging ^1.2.0
    • meta ^1.3.0
    • package_config ^2.0.0
    • path ^1.8.0
    • pool ^1.5.0
    • timing ^1.0.0
    • watcher ^1.0.0
    • yaml ^3.0.0
  • built_collection 5.1.1
  • built_value 8.9.1
    • built_collection ^5.0.0
    • collection ^1.15.0
    • fixnum ^1.0.0
    • meta ^1.3.0
  • cached_network_image_platform_interface 4.0.0
    • flutter any
    • flutter_cache_manager ^3.3.1
  • cached_network_image_web 1.1.1
    • cached_network_image_platform_interface ^4.0.0
    • flutter any
    • flutter_cache_manager ^3.3.1
  • characters 1.3.0
  • checked_yaml 2.0.3
    • json_annotation ^4.3.0
    • source_span ^1.8.0
    • yaml ^3.0.0
  • cli_util 0.4.1
    • meta ^1.3.0
    • path ^1.8.0
  • clock 1.1.1
  • code_builder 4.10.0
    • built_collection ^5.0.0
    • built_value ^8.0.0
    • collection ^1.15.0
    • matcher ^0.12.10
    • meta ^1.3.0
  • collection 1.18.0
  • convert 3.1.1
    • typed_data ^1.3.0
  • cross_file 0.3.3+8
    • meta ^1.3.0
    • web >=0.3.0 <0.5.0
  • crypto 3.0.3
    • typed_data ^1.3.0
  • csslib 1.0.0
    • source_span ^1.8.0
  • dart_style 2.3.4
    • analyzer ^6.2.0
    • args >=1.0.0 <3.0.0
    • collection ^1.17.0
    • path ^1.0.0
    • pub_semver >=1.4.4 <3.0.0
    • source_span ^1.4.0
  • desktop_webview_auth 0.0.15
    • crypto ^3.0.3
    • flutter any
    • http ^1.0.0
    • flutter_web_plugins any
    • plugin_platform_interface ^2.1.4
  • device_info_plus_platform_interface 7.0.0
    • flutter any
    • meta ^1.3.0
    • plugin_platform_interface ^2.0.0
  • email_validator 2.1.17
  • fake_async 1.3.1
    • clock ^1.1.0
    • collection ^1.15.0
  • ffi 2.1.2
  • file 7.0.0
    • meta ^1.9.1
    • path ^1.8.3
  • file_selector_linux 0.9.2+1
    • cross_file ^0.3.1
    • file_selector_platform_interface ^2.6.0
    • flutter any
  • file_selector_macos 0.9.3+3
    • cross_file ^0.3.1
    • file_selector_platform_interface ^2.6.0
    • flutter any
  • file_selector_platform_interface 2.6.2
    • cross_file ^0.3.0
    • flutter any
    • http >=0.13.0 <2.0.0
    • plugin_platform_interface ^2.1.7
  • file_selector_windows 0.9.3+1
    • cross_file ^0.3.1
    • file_selector_platform_interface ^2.6.0
    • flutter any
  • firebase_analytics_platform_interface 3.9.6
    • _flutterfire_internals ^1.3.22
    • firebase_core ^2.25.4
    • flutter any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_analytics_web 0.5.5+18
    • _flutterfire_internals ^1.3.22
    • firebase_analytics_platform_interface ^3.9.6
    • firebase_core ^2.25.4
    • firebase_core_web ^2.11.4
    • flutter any
    • flutter_web_plugins any
    • js ^0.6.3
  • firebase_auth_platform_interface 7.1.5
    • _flutterfire_internals ^1.3.22
    • collection ^1.16.0
    • firebase_core ^2.25.4
    • flutter any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_auth_web 5.9.5
    • firebase_auth_platform_interface ^7.1.5
    • firebase_core ^2.25.4
    • firebase_core_web ^2.11.4
    • flutter any
    • flutter_web_plugins any
    • http_parser ^4.0.0
    • js ^0.6.3
    • meta ^1.8.0
    • web >=0.3.0 <0.5.0
  • firebase_core_platform_interface 5.0.0
    • collection ^1.0.0
    • flutter any
    • flutter_test any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_core_web 2.11.4
    • firebase_core_platform_interface ^5.0.0
    • flutter any
    • flutter_web_plugins any
    • js ^0.6.3
    • meta ^1.8.0
    • web >=0.3.0 <0.5.0
  • firebase_crashlytics_platform_interface 3.6.22
    • _flutterfire_internals ^1.3.22
    • collection ^1.15.0
    • firebase_core ^2.25.4
    • flutter any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_dynamic_links 5.4.14
    • firebase_core ^2.25.4
    • firebase_core_platform_interface ^5.0.0
    • firebase_dynamic_links_platform_interface ^0.2.6+22
    • flutter any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_dynamic_links_platform_interface 0.2.6+22
    • _flutterfire_internals ^1.3.22
    • firebase_core ^2.25.4
    • flutter any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_messaging_platform_interface 4.5.24
    • _flutterfire_internals ^1.3.22
    • firebase_core ^2.25.4
    • flutter any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_messaging_web 3.6.5
    • _flutterfire_internals ^1.3.22
    • firebase_core ^2.25.4
    • firebase_core_web ^2.11.4
    • firebase_messaging_platform_interface ^4.5.24
    • flutter any
    • flutter_web_plugins any
    • js ^0.6.3
    • meta ^1.8.0
    • web >=0.3.0 <0.5.0
  • firebase_ui_shared 1.4.1
    • flutter any
  • fixnum 1.1.0
  • flutter_cache_manager 3.3.1
    • clock ^1.1.0
    • collection ^1.15.0
    • file >=6.1.4 <8.0.0
    • flutter any
    • http >=0.13.0 <2.0.0
    • path ^1.8.0
    • path_provider ^2.0.0
    • rxdart >=0.26.0 <0.28.0
    • sqflite ^2.0.0+4
    • uuid >=3.0.0 <5.0.0
  • flutter_image_compress_common 1.0.3
    • flutter any
    • flutter_image_compress_platform_interface ^1.0.3
  • flutter_image_compress_macos 1.0.1
    • flutter any
    • flutter_image_compress_platform_interface ^1.0.3
  • flutter_image_compress_platform_interface 1.0.3
    • flutter any
    • plugin_platform_interface ^2.0.0
    • cross_file ^0.3.3+2
  • flutter_image_compress_web 0.1.3+2
    • flutter any
    • flutter_web_plugins any
    • flutter_image_compress_platform_interface ^1.0.3
    • js ^0.6.5
  • flutter_inappwebview 6.0.0
    • flutter any
    • flutter_inappwebview_platform_interface ^1.0.10
    • flutter_inappwebview_android ^1.0.12
    • flutter_inappwebview_ios ^1.0.13
    • flutter_inappwebview_macos ^1.0.11
    • flutter_inappwebview_web ^1.0.8
  • flutter_inappwebview_android 1.0.13
    • flutter any
    • flutter_inappwebview_platform_interface ^1.0.10
  • flutter_inappwebview_internal_annotations 1.1.1
  • flutter_inappwebview_ios 1.0.13
    • flutter any
    • flutter_inappwebview_platform_interface ^1.0.10
  • flutter_inappwebview_macos 1.0.11
    • flutter any
    • flutter_inappwebview_platform_interface ^1.0.10
  • flutter_inappwebview_platform_interface 1.0.10
    • flutter any
    • flutter_inappwebview_internal_annotations ^1.1.1
    • plugin_platform_interface ^2.1.6
  • flutter_inappwebview_web 1.0.8
    • flutter any
    • flutter_web_plugins any
    • js ^0.6.4
    • flutter_inappwebview_platform_interface ^1.0.10
  • flutter_plugin_android_lifecycle 2.0.17
    • flutter any
  • flutter_rating_bar 4.0.1
    • flutter any
  • flutter_svg 2.0.10+1
    • flutter any
    • http ^1.0.0
    • vector_graphics ^1.1.11
    • vector_graphics_codec ^1.1.11
    • vector_graphics_compiler ^1.1.11
  • flutter_web_plugins 0.0.0
    • flutter any
    • characters 1.3.0
    • collection 1.18.0
    • material_color_utilities 0.8.0
    • meta 1.11.0
    • vector_math 2.1.4
  • freezed_annotation 2.4.1
    • collection ^1.15.0
    • json_annotation ^4.6.0
    • meta ^1.7.0
  • frontend_server_client 3.2.0
    • async ^2.5.0
    • path ^1.8.0
  • glob 2.1.2
    • async ^2.5.0
    • collection ^1.15.0
    • file >=6.1.3 <8.0.0
    • path ^1.8.0
    • string_scanner ^1.1.0
  • google_identity_services_web 0.3.0+2
    • meta ^1.3.0
    • web >=0.3.0 <0.5.0
  • google_sign_in_android 6.1.21
    • flutter any
    • google_sign_in_platform_interface ^2.2.0
  • google_sign_in_ios 5.7.4
    • flutter any
    • google_sign_in_platform_interface ^2.2.0
  • google_sign_in_platform_interface 2.4.5
    • flutter any
    • plugin_platform_interface ^2.1.7
  • google_sign_in_web 0.12.3+3
    • flutter any
    • flutter_web_plugins any
    • google_identity_services_web ^0.3.0
    • google_sign_in_platform_interface ^2.4.0
    • http >=0.13.0 <2.0.0
    • web >=0.3.0 <0.6.0
  • graphs 2.3.1
    • collection ^1.1.0
  • html 0.15.4
    • csslib >=0.17.0 <2.0.0
    • source_span ^1.8.0
  • http_multi_server 3.2.1
    • async ^2.5.0
  • http_parser 4.0.2
    • collection ^1.15.0
    • source_span ^1.8.0
    • string_scanner ^1.1.0
    • typed_data ^1.3.0
  • image_picker_android 0.8.9+3
    • flutter any
    • flutter_plugin_android_lifecycle ^2.0.1
    • image_picker_platform_interface ^2.8.0
  • image_picker_for_web 3.0.2
    • flutter any
    • flutter_web_plugins any
    • image_picker_platform_interface ^2.9.0
    • mime ^1.0.4
  • image_picker_ios 0.8.9+1
    • flutter any
    • image_picker_platform_interface ^2.8.0
  • image_picker_linux 0.2.1+1
    • file_selector_linux ^0.9.1+3
    • file_selector_platform_interface ^2.2.0
    • flutter any
    • image_picker_platform_interface ^2.8.0
  • image_picker_macos 0.2.1+1
    • file_selector_macos ^0.9.1+1
    • file_selector_platform_interface ^2.3.0
    • flutter any
    • image_picker_platform_interface ^2.8.0
  • image_picker_platform_interface 2.9.4
    • cross_file ^0.3.1+1
    • flutter any
    • http >=0.13.0 <2.0.0
    • plugin_platform_interface ^2.1.7
  • image_picker_windows 0.2.1+1
    • file_selector_platform_interface ^2.2.0
    • file_selector_windows ^0.9.0
    • flutter any
    • image_picker_platform_interface ^2.8.0
  • intl 0.18.1
    • clock ^1.1.0
    • meta ^1.0.2
    • path ^1.8.0
  • io 1.0.4
    • meta ^1.3.0
    • path ^1.8.0
    • string_scanner ^1.1.0
  • js 0.6.7
    • meta ^1.7.0
  • json_annotation 4.8.1
    • meta ^1.4.0
  • leak_tracker 10.0.0
    • clock ^1.1.1
    • collection ^1.15.0
    • meta ^1.8.0
    • path ^1.8.3
    • vm_service >=11.10.0 <15.0.0
  • leak_tracker_flutter_testing 2.0.1
    • flutter any
    • leak_tracker >=10.0.0 <11.0.0
    • leak_tracker_testing >=2.0.1 <3.0.0
    • matcher ^0.12.16
    • meta ^1.8.0
  • leak_tracker_testing 2.0.1
    • leak_tracker >=9.0.0 <11.0.0
    • matcher ^0.12.16
    • meta ^1.11.0
  • lints 3.0.0
  • logging 1.2.0
  • matcher 0.12.16+1
    • async ^2.10.0
    • meta ^1.8.0
    • stack_trace ^1.10.0
    • term_glyph ^1.2.0
    • test_api >=0.5.0 <0.8.0
  • material_color_utilities 0.8.0
    • collection ^1.15.0
  • meta 1.11.0
  • mime 1.0.5
  • nested 1.0.0
    • flutter any
  • octo_image 2.0.0
    • flutter any
  • os_detect 2.0.1
  • package_config 2.1.0
    • path ^1.8.0
  • package_info_plus_platform_interface 2.0.1
    • flutter any
    • meta ^1.3.0
    • plugin_platform_interface ^2.0.0
  • path 1.9.0
  • path_parsing 1.0.1
    • vector_math ^2.1.0
    • meta ^1.3.0
  • path_provider_android 2.2.2
    • flutter any
    • path_provider_platform_interface ^2.1.0
  • path_provider_foundation 2.3.2
    • flutter any
    • path_provider_platform_interface ^2.1.0
  • path_provider_linux 2.2.1
    • ffi >=1.1.2 <3.0.0
    • flutter any
    • path ^1.8.0
    • path_provider_platform_interface ^2.1.0
    • xdg_directories >=0.2.0 <2.0.0
  • path_provider_platform_interface 2.1.2
    • flutter any
    • platform ^3.0.0
    • plugin_platform_interface ^2.1.7
  • path_provider_windows 2.2.1
    • ffi ^2.0.0
    • flutter any
    • path ^1.8.0
    • path_provider_platform_interface ^2.1.0
    • win32 >=2.1.0 <6.0.0
  • permission_handler_android 12.0.5
    • flutter any
    • permission_handler_platform_interface ^4.2.0
  • permission_handler_apple 9.4.0
    • flutter any
    • permission_handler_platform_interface ^4.2.0
  • permission_handler_html 0.1.1
    • flutter any
    • flutter_web_plugins any
    • permission_handler_platform_interface ^4.1.0
  • permission_handler_platform_interface 4.2.0
    • flutter any
    • meta ^1.3.0
    • plugin_platform_interface ^2.0.0
  • permission_handler_windows 0.2.1
    • flutter any
    • permission_handler_platform_interface ^4.1.0
  • petitparser 6.0.2
    • meta ^1.9.0
  • platform 3.1.4
  • plugin_platform_interface 2.1.8
    • meta ^1.3.0
  • pointycastle 3.7.4
    • collection ^1.15.0
    • convert ^3.0.0
    • js >=0.6.3 <0.8.0
  • pool 1.5.1
    • async ^2.5.0
    • stack_trace ^1.10.0
  • protobuf 3.1.0
    • collection ^1.15.0
    • fixnum ^1.0.0
    • meta ^1.7.0
  • pub_semver 2.1.4
    • collection ^1.15.0
    • meta ^1.3.0
  • pubspec_parse 1.2.3
    • checked_yaml ^2.0.1
    • collection ^1.15.0
    • json_annotation ^4.8.0
    • pub_semver ^2.0.0
    • yaml ^3.0.0
  • rxdart 0.27.7
  • scratch_space 1.0.2
    • build ^2.0.0
    • crypto ^3.0.0
    • path ^1.8.0
    • pool ^1.5.0
  • share_plus_platform_interface 3.3.1
    • cross_file ^0.3.3+4
    • flutter any
    • meta ^1.8.0
    • mime ^1.0.4
    • plugin_platform_interface ^2.1.4
    • path_provider ^2.0.14
    • uuid >=3.0.7 <5.0.0
  • shared_preferences_android 2.2.1
    • flutter any
    • shared_preferences_platform_interface ^2.3.0
  • shared_preferences_foundation 2.3.5
    • flutter any
    • shared_preferences_platform_interface ^2.3.0
  • shared_preferences_linux 2.3.2
    • file >=6.0.0 <8.0.0
    • flutter any
    • path ^1.8.0
    • path_provider_linux ^2.0.0
    • path_provider_platform_interface ^2.0.0
    • shared_preferences_platform_interface ^2.3.0
  • shared_preferences_platform_interface 2.3.2
    • flutter any
    • plugin_platform_interface ^2.1.7
  • shared_preferences_web 2.2.2
    • flutter any
    • flutter_web_plugins any
    • shared_preferences_platform_interface ^2.3.0
    • web >=0.3.0 <0.5.0
  • shared_preferences_windows 2.3.2
    • file >=6.0.0 <8.0.0
    • flutter any
    • path ^1.8.0
    • path_provider_platform_interface ^2.0.0
    • path_provider_windows ^2.0.0
    • shared_preferences_platform_interface ^2.3.0
  • shelf 1.4.1
    • async ^2.5.0
    • collection ^1.15.0
    • http_parser ^4.0.0
    • path ^1.8.0
    • stack_trace ^1.10.0
    • stream_channel ^2.1.0
  • shelf_web_socket 1.0.4
    • shelf ^1.1.0
    • stream_channel ^2.1.0
    • web_socket_channel ^2.0.0
  • sign_in_with_apple_platform_interface 1.0.0
    • flutter any
    • plugin_platform_interface ^2.0.0
    • meta ^1.3.0
  • sign_in_with_apple_web 1.0.1
    • flutter any
    • flutter_web_plugins any
    • sign_in_with_apple_platform_interface ^1.0.0
    • js ^0.6.3
  • sky_engine 0.0.99
  • source_maps 0.10.12
    • source_span ^1.8.0
  • source_span 1.10.0
    • collection ^1.15.0
    • path ^1.8.0
    • term_glyph ^1.2.0
  • sprintf 7.0.0
  • sqflite 2.3.2
    • flutter any
    • sqflite_common >=2.5.0-1 <4.0.0
    • path >=1.8.0 <3.0.0
  • sqflite_common 2.5.3
    • synchronized >=3.0.0 <5.0.0
    • path >=1.8.0 <3.0.0
    • meta >=1.3.0 <3.0.0
  • stack_trace 1.11.1
    • path ^1.8.0
  • stream_channel 2.1.2
    • async ^2.5.0
  • stream_transform 2.1.0
  • string_scanner 1.2.0
    • source_span ^1.8.0
  • term_glyph 1.2.1
  • test_api 0.6.1
    • async ^2.5.0
    • boolean_selector ^2.1.0
    • collection ^1.15.0
    • meta ^1.3.0
    • source_span ^1.8.0
    • stack_trace ^1.10.0
    • stream_channel ^2.1.0
    • string_scanner ^1.1.0
    • term_glyph ^1.2.0
  • timing 1.0.1
    • json_annotation ^4.3.0
  • typed_data 1.3.2
    • collection ^1.15.0
  • url_launcher_android 6.3.0
    • flutter any
    • url_launcher_platform_interface ^2.3.1
  • url_launcher_ios 6.2.4
    • flutter any
    • url_launcher_platform_interface ^2.2.0
  • url_launcher_linux 3.1.1
    • flutter any
    • url_launcher_platform_interface ^2.2.0
  • url_launcher_macos 3.1.0
    • flutter any
    • url_launcher_platform_interface ^2.2.0
  • url_launcher_platform_interface 2.3.2
    • flutter any
    • plugin_platform_interface ^2.1.7
  • url_launcher_web 2.2.3
    • flutter any
    • flutter_web_plugins any
    • url_launcher_platform_interface ^2.2.0
    • web >=0.3.0 <0.5.0
  • url_launcher_windows 3.1.1
    • flutter any
    • url_launcher_platform_interface ^2.2.0
  • uuid 4.3.3
    • crypto ^3.0.0
    • sprintf ^7.0.0
    • meta ^1.10.0
    • fixnum ^1.1.0
  • vector_graphics 1.1.11+1
    • flutter any
    • http ^1.0.0
    • vector_graphics_codec 1.1.11+1
  • vector_graphics_codec 1.1.11+1
  • vector_graphics_compiler 1.1.11+1
    • args ^2.3.0
    • meta ^1.7.0
    • path_parsing ^1.0.1
    • xml ^6.3.0
    • vector_graphics_codec 1.1.11+1
    • path ^1.8.0
  • vector_math 2.1.4
  • version 3.0.2
  • vm_service 13.0.0
  • watcher 1.1.0
    • async ^2.5.0
    • path ^1.8.0
  • web_socket_channel 2.4.3
    • async ^2.5.0
    • crypto ^3.0.0
    • stream_channel ^2.1.0
    • web ^0.4.0
  • win32 5.2.0
    • ffi ^2.1.0
  • win32_registry 1.1.2
    • ffi ^2.1.0
    • win32 ^5.0.7
  • xdg_directories 1.0.4
    • meta ^1.3.0
    • path ^1.8.0
  • xml 6.5.0
    • collection ^1.18.0
    • meta ^1.9.0
    • petitparser ^6.0.0
  • yaml 3.1.2
    • collection ^1.15.0
    • source_span ^1.8.0
    • string_scanner ^1.1.0

Steps to reproduce

I'm not able to reproduce - but I get dozens of crash reports from live usage.
I have no idea how users even get to the profile screen when currentUser is null.
Given that its somewhat rare I would suspect a corner case like deleting the account or some odd action like that.

Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Null check operator used on a null value. Error thrown .
       at ProfileScreen.buildPage(profile_screen.dart:809)
       at ConversionSink.add(conversion_sink.dart:8)
       at StatelessElement.build(framework.dart:5550)
...

So it appears that there are some cases where currentUser is null

    final user = auth.currentUser!;

Expected Behavior

Maybe just show text saying not logged in?

Actual Behavior

An exception is thrown

Additional Information

No response

@russellwheatley
Copy link
Member

Hey @reimager - It would be extremely helpful if you could provide a reproduction so we can properly diagnose the issue and get this resolved.

It would also be useful if you could provide the platform this is occurring on. It might be worth adding some logging around the sign in process and the profile to see when this occurs to help with the reproduction.

@russellwheatley russellwheatley added bug Something isn't working auth labels Mar 14, 2024
@Lejoni
Copy link

Lejoni commented May 25, 2024

I responded to a similar problem in another thread. Linking here as my response might be relevant in tracking down the issue.

@Lejoni
Copy link

Lejoni commented May 26, 2024

I also get this error if I add a listener callback like this:

@override
  void initState() {
    super.initState();
    auth.authStateChanges().listen((User? user) {
      if (user == null) {
        setState(() {
          userSignedIn = false;
        });
      } else {
        setState(() {
          userSignedIn = true;
        });
      }
    });
  }

@Lejoni
Copy link

Lejoni commented May 31, 2024

I get this error when signing out from ProfileScreen if anything else besides Navigator is called.
Even if a listener like above post exist. I just need some way to trigger UI changes if the user sign out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants