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

Version 1.0.0 is not compatible with flutter 3.22.0. #37

Open
TimoSchmuck opened this issue May 19, 2024 · 0 comments
Open

Version 1.0.0 is not compatible with flutter 3.22.0. #37

TimoSchmuck opened this issue May 19, 2024 · 0 comments

Comments

@TimoSchmuck
Copy link

I'm compiling my project with the latest flutter version 3.22.0.

I got the following compile error:

../../.pub-cache/hosted/pub.dev/awesome_circular_chart-1.0.0/lib/src/animated_circular_chart.dart:221:60: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Documents/workspace/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'.
          widget.labelStyle ?? Theme.of(context).textTheme.bodyText1;
                                                           ^^^^^^^^^
Target kernel_snapshot failed: Exception


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/workspace/flutter/bin/flutter'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 8s

Is this a known issue?

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

1 participant