caglarylmz / slide_digital_clock

✨A clean and lightweight Digital Clock Widget For Flutter
MIT License
18 stars 13 forks source link

Errors With New Flutter 3.22 Update #15

Open AyberkAhmet opened 2 months ago

AyberkAhmet commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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'.

tyukesz commented 4 weeks ago

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: