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

Errors With New Flutter 3.22 Update #15

Open
AyberkAhmet opened this issue May 14, 2024 · 8 comments
Open

Errors With New Flutter 3.22 Update #15

AyberkAhmet opened this issue May 14, 2024 · 8 comments

Comments

@AyberkAhmet
Copy link

I am taking this errors, when I am trying to build my windows app after updating Flutter 3.22.

/C:/Users/A.A/AppData/Local/Pub/Cache/hosted/pub.dev/slide_digital_clock-1.0.3/lib/src/digital_clock.dart(151,43): error G4127D1E8: The getter 'bodyText1' isn't defined for the class 'TextTheme'. [C:\FlutterProjects\calendar_event\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/A.A/AppData/Local/Pub/Cache/hosted/pub.dev/slide_digital_clock-1.0.3/lib/src/digital_clock.dart(163,43): error G4127D1E8: The getter 'bodyText1' isn't defined for the class 'TextTheme'. [C:\FlutterProjects\calendar_event\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/A.A/AppData/Local/Pub/Cache/hosted/pub.dev/slide_digital_clock-1.0.3/lib/src/digital_clock.dart(177,47): error G4127D1E8: The getter 'caption' isn't defined for the class 'TextTheme'. [C:\FlutterProjects\calendar_event\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/A.A/AppData/Local/Pub/Cache/hosted/pub.dev/slide_digital_clock-1.0.3/lib/src/digital_clock.dart(191,22): error G4127D1E8: The getter 'caption' isn't defined for the class 'TextTheme'. [C:\FlutterProjects\calendar_event\build\windows\x64\flutter\flutter_assemble.vcxproj] /C:/Users/A.A/AppData/Local/Pub/Cache/hosted/pub.dev/slide_digital_clock-1.0.3/lib/src/helpers/colon.dart(41,48): error G4127D1E8: The getter 'caption' isn't defined for the class 'TextTheme'. [C:\FlutterProjects\calendar_event\build\windows\x64\flutter\flutter_assemble.vcxproj]

@jlsevillano
Copy link

Same error:
pub.dev/slide_digital_clock-1.0.3/lib/src/digital_clock.dart(151,43): error G4127D1E8: The getter 'bodyText1' isn't defined for the class 'TextTheme'.
Any solution been found?

@paulobreim
Copy link

Same error for me

../../.pub-cache/hosted/pub.dev/slide_digital_clock-1.0.3/lib/src/digital_clock.dart:151:43: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'.
- 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/opt/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'.
Theme.of(context).textTheme.bodyText1,

@tyukesz
Copy link

tyukesz commented Jun 27, 2024

Same, but as a I see, they stopped maintaining the package on pub.dev

Workaround for those who are using this package could be to use the code from github directly:

  • instead slide_digital_clock: ^1.0.3
  • use
slide_digital_clock:
    git:
      url: [email protected]:caglarylmz/slide_digital_clock.git
      ref: master

@beingmishra
Copy link

beingmishra commented Jul 28, 2024

caglarylmz/slide_digital_clock

Got an error that git is not able to clone, Following is the fix

slide_digital_clock:
   git:
     url: https://github.com/caglarylmz/slide_digital_clock.git
     ref: master

@theranjithmenon
Copy link

caglarylmz/slide_digital_clock

Got an error that git is not able to clone, Following is the fix

slide_digital_clock:
   git:
     url: https://github.com/caglarylmz/slide_digital_clock.git
     ref: master

This worked for me.
But please update the package in pub.dev

@paulobreim
Copy link

It's a shame when someone publishes a lib, just because they want to become famous, and then simply abandons the package.
Personally, I'm simply going to abandon this crap,

@caglarylmz
Copy link
Owner

hello friends. I haven't been able to check here for a long time because of projects I've been working on.I apologize for this situation. i tried for flutter 3.24.1 and dart 3.5.1 version on ios but i have not seen any problems. Can you explain the problem?

@paulobreim
Copy link

Eu não preciso mais. Simplesmente nãouso mais a lib.

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

7 participants