Skip to content

πŸ› themed ui components do not compileΒ #578

@mrzwk-b

Description

@mrzwk-b

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 OAuth

What platform(s) does this bug affect?

Android, iOS, Web, macOS, Linux, Windows

List of dependencies used.

flutter pub deps -s list
 Dart SDK 3.6.0
Flutter SDK 3.27.1  
crusn 1.0.0+1       

dependencies:

  • flutter 0.0.0
    • characters 1.3.0
    • collection 1.19.0
    • material_color_utilities 0.11.1
    • meta 1.15.0
    • vector_math 2.1.4
    • sky_engine any
  • cupertino_icons 1.0.8
  • firebase_core 4.2.1
    • firebase_core_platform_interface ^6.0.2
    • firebase_core_web ^3.3.0
    • flutter any
    • meta ^1.8.0
  • cloud_firestore 6.1.0
    • cloud_firestore_platform_interface ^7.0.4
    • cloud_firestore_web ^5.1.0
    • collection ^1.0.0
    • firebase_core ^4.2.1
    • firebase_core_platform_interface ^6.0.2
    • flutter any
    • meta ^1.8.0
  • firebase_auth 6.1.2
    • firebase_auth_platform_interface ^8.1.4
    • firebase_auth_web ^6.1.0
    • firebase_core ^4.2.1
    • firebase_core_platform_interface ^6.0.2
    • flutter any
    • meta ^1.8.0
  • firebase_ui_auth 3.0.1
    • app_links ^6.4.0
    • email_validator ^2.1.17
    • firebase_auth ^6.1.1
    • firebase_core ^4.2.0
    • firebase_ui_localizations ^2.0.1
    • firebase_ui_oauth ^2.0.1
    • firebase_ui_shared ^1.4.2
    • flutter any
    • flutter_localizations any
    • meta ^1.10.0

dev dependencies:

  • flutter_test 0.0.0
    • flutter any
    • test_api 0.7.3
    • matcher 0.12.16+1
    • path 1.9.0
    • fake_async 1.3.1
    • clock 1.1.1
    • stack_trace 1.12.0
    • vector_math 2.1.4
    • leak_tracker_flutter_testing 3.0.8
    • async 2.11.0
    • boolean_selector 2.1.1
    • characters 1.3.0
    • collection 1.19.0
    • leak_tracker 10.0.7
    • leak_tracker_testing 3.0.1
    • material_color_utilities 0.11.1
    • meta 1.15.0
    • source_span 1.10.0
    • stream_channel 2.1.2
    • string_scanner 1.3.0
    • term_glyph 1.2.1
    • vm_service 14.3.0
  • flutter_lints 5.0.0
    • lints ^5.0.0

transitive dependencies:

  • _flutterfire_internals 1.3.64
    • collection ^1.0.0
    • firebase_core ^4.2.1
    • firebase_core_platform_interface ^6.0.2
    • flutter any
    • meta ^1.8.0
  • app_links 6.4.1
    • flutter any
    • app_links_linux ^1.0.3
    • app_links_platform_interface ^2.0.2
    • app_links_web ^1.0.4
  • app_links_linux 1.0.3
    • flutter any
    • app_links_platform_interface ^2.0.0
    • gtk ^2.1.0
  • app_links_platform_interface 2.0.2
    • flutter any
    • plugin_platform_interface ^2.1.7
  • app_links_web 1.0.4
    • flutter any
    • flutter_web_plugins any
    • app_links_platform_interface ^2.0.0
    • web >=0.3.0 <2.0.0
  • args 2.7.0
  • async 2.11.0
    • collection ^1.15.0
    • meta ^1.1.7
  • boolean_selector 2.1.1
    • source_span ^1.8.0
    • string_scanner ^1.1.0
  • characters 1.3.0
  • clock 1.1.1
  • cloud_firestore_platform_interface 7.0.4
    • _flutterfire_internals ^1.3.64
    • collection ^1.15.0
    • firebase_core ^4.2.1
    • flutter any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • cloud_firestore_web 5.1.0
    • _flutterfire_internals ^1.3.64
    • cloud_firestore_platform_interface ^7.0.4
    • collection ^1.0.0
    • firebase_core ^4.2.1
    • firebase_core_web ^3.3.0
    • flutter any
    • flutter_web_plugins any
  • collection 1.19.0
  • crypto 3.0.7
    • typed_data ^1.3.0
  • desktop_webview_auth 0.0.16
    • crypto ^3.0.3
    • flutter any
    • http ^1.0.0
    • flutter_web_plugins any
    • plugin_platform_interface ^2.1.4
  • email_validator 2.1.17
  • fake_async 1.3.1
    • clock ^1.1.0
    • collection ^1.15.0
  • ffi 2.1.3
  • firebase_auth_platform_interface 8.1.4
    • _flutterfire_internals ^1.3.64
    • collection ^1.16.0
    • firebase_core ^4.2.1
    • flutter any
    • http ^1.1.0
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_auth_web 6.1.0
    • firebase_auth_platform_interface ^8.1.4
    • firebase_core ^4.2.1
    • firebase_core_web ^3.3.0
    • flutter any
    • flutter_web_plugins any
    • http_parser ^4.0.0
    • meta ^1.8.0
    • web ^1.0.0
  • firebase_core_platform_interface 6.0.2
    • collection ^1.0.0
    • flutter any
    • flutter_test any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_core_web 3.3.0
    • firebase_core_platform_interface ^6.0.2
    • flutter any
    • flutter_web_plugins any
    • meta ^1.8.0
    • web ^1.0.0
  • firebase_ui_localizations 2.0.1
    • flutter any
    • flutter_localizations any
    • path ^1.8.3
  • firebase_ui_oauth 2.0.1
    • desktop_webview_auth ^0.0.16
    • firebase_auth ^6.1.1
    • firebase_ui_auth ^3.0.1
    • firebase_ui_shared ^1.4.2
    • flutter_svg ^2.0.9
    • flutter any
  • firebase_ui_shared 1.4.2
    • flutter any
  • flutter_localizations 0.0.0
    • flutter any
    • intl 0.19.0
    • characters 1.3.0
    • clock 1.1.1
    • collection 1.19.0
    • material_color_utilities 0.11.1
    • meta 1.15.0
    • path 1.9.0
    • vector_math 2.1.4
  • flutter_svg 2.2.0
    • flutter any
    • http ^1.0.0
    • vector_graphics ^1.1.13
    • vector_graphics_codec ^1.1.11+1
    • vector_graphics_compiler ^1.1.14
  • flutter_web_plugins 0.0.0
    • flutter any
    • characters 1.3.0
    • collection 1.19.0
    • material_color_utilities 0.11.1
    • meta 1.15.0
    • vector_math 2.1.4
  • gtk 2.1.0
    • ffi ^2.0.1
    • flutter any
    • meta ^1.8.0
  • http 1.6.0
    • async ^2.5.0
    • http_parser ^4.0.0
    • meta ^1.3.0
    • web >=0.5.0 <2.0.0
  • http_parser 4.1.2
    • collection ^1.19.0
    • source_span ^1.8.0
    • string_scanner ^1.1.0
    • typed_data ^1.3.0
  • intl 0.19.0
    • clock ^1.1.0
    • meta ^1.0.2
    • path ^1.8.0
  • leak_tracker 10.0.7
    • 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 3.0.8
    • flutter any
    • leak_tracker >=10.0.7 <11.0.0
    • leak_tracker_testing >=3.0.1 <4.0.0
    • matcher ^0.12.16
    • meta ^1.8.0
  • leak_tracker_testing 3.0.1
    • leak_tracker >=9.0.0 <11.0.0
    • matcher ^0.12.16
    • meta ^1.11.0
  • lints 5.1.1
  • 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.11.1
    • collection ^1.15.0
  • meta 1.15.0
  • path 1.9.0
  • path_parsing 1.1.0
    • meta ^1.3.0
    • vector_math ^2.1.0
  • petitparser 6.0.2
    • meta ^1.9.0
  • plugin_platform_interface 2.1.8
    • meta ^1.3.0
  • sky_engine 0.0.0
  • source_span 1.10.0
    • collection ^1.15.0
    • path ^1.8.0
    • term_glyph ^1.2.0
  • stack_trace 1.12.0
    • path ^1.8.0
  • stream_channel 2.1.2
    • async ^2.5.0
  • string_scanner 1.3.0
    • source_span ^1.8.0
  • term_glyph 1.2.1
  • test_api 0.7.3
    • async ^2.5.0
    • boolean_selector ^2.1.0
    • collection ^1.15.0
    • meta ^1.14.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
  • typed_data 1.4.0
    • collection ^1.15.0
  • vector_graphics 1.1.19
    • flutter any
    • http ^1.0.0
    • vector_graphics_codec ^1.1.11+1
  • vector_graphics_codec 1.1.13
  • vector_graphics_compiler 1.1.18
    • args ^2.3.0
    • meta ^1.7.0
    • path ^1.8.0
    • path_parsing ^1.0.1
    • vector_graphics_codec ^1.1.11+1
    • xml >=6.3.0 <=6.5.0
  • vector_math 2.1.4
  • vm_service 14.3.0
  • web 1.1.1
  • xml 6.5.0
    • collection ^1.18.0
    • meta ^1.9.0
    • petitparser ^6.0.0

Steps to reproduce

open a flutter project include the SignInScreen widget from this package

Expected Behavior

everything compiles without incident

Actual Behavior

application fails to compile due to Error: Type 'Brightness' not found. in both firebase_ui_oauth-2.0.1/lib/src/oauth_provider_button_style.dart and firebase_ui_shared-1.4.2/lib/src/themed.dart

Additional Information

editing the files in the pub cache to import material.dart fixes the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs AttentionOP created or responded to issue and it needs attention.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions