bluefireteam / dashbook

Development tools to help you building UI on Flutter
MIT License
392 stars 43 forks source link

Crash on flutter run due to flutter_colorpicker 1.0.3 incompatibility with flutter 3.22 #117

Closed KimFromMarietta closed 4 months ago

KimFromMarietta commented 5 months ago

Hi,

I've been using dashbook for some time, but I've run into a problem today when upgrading to the new flutter 3.22

The flutter app crashes on run because of deprecated flutter textTheme fields bodyText1 and bodyText2 which are imported to dashbook from flutter_colorpicker 1.0.3.

Is a workaround or fix available, please? Could a different colorpicker package be used that doesn't use deprecated textTheme fields?

Edited to add: The flutter_colorpicker Github already lists two issues with the compatibility of flutter_colorpicker and Flutter 3.22. https://github.com/mchome/flutter_colorpicker/issues/108 and https://github.com/mchome/flutter_colorpicker/issues/105.

Thanks

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.22.0, on macOS 13.6.6 22G630 darwin-x64, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [!] Xcode - develop for iOS and macOS (Xcode 15.2) ✗ Unable to get list of installed Simulator runtimes. [✓] Chrome - develop for the web [✓] Android Studio (version 2022.2) [✓] IntelliJ IDEA Ultimate Edition (version 2024.1.1) [✓] VS Code (version 1.89.0) [✓] Connected device (3 available)
[✓] Network resources

spydon commented 4 months ago

Fixed by #118