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

Flutter build failing for web application #23

Open
TFJL opened this issue May 18, 2023 · 1 comment
Open

Flutter build failing for web application #23

TFJL opened this issue May 18, 2023 · 1 comment

Comments

@TFJL
Copy link

TFJL commented May 18, 2023

We had build successfully passing on 10 May 2023. and since the 16th of may 2023 the following build error started appearing, specifically complaining about the Chewie_audio- 1.4.0 add on

[ +6 ms] Target dart2js failed: Exception: /C:/Users//AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/chewie_audio-1.4.0/lib/src/material_controls.dart:82:51:
Error: The getter 'labelLarge' isn't defined for the class 'TextTheme'.
- 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/Users/
/fvm/versions/2.2.3/packages/flutter/lib/src/material/text_theme.dart').
final iconColor = Theme.of(context).textTheme.labelLarge!.color;
^^^^^^^^^^
Error: Compilation failed.

@Dentro2000
Copy link

Hi, I have similiar issue, but ios build is not compiling becaus of that error. I see that 1.5.0 version is also using
final iconColor = Theme.of(context).textTheme.labelLarge!.color;
so upgrade is not an option. Can I get any help with that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants