Current version of colorpicker being resolved to 1.0.3 doesn't work anymore with any updated Flutter versions:
../../../../.pub-cache/hosted/pub.dev/flutter_colorpicker-1.0.3/lib/src/palette.dart:1045:47: Error: The getter
'bodyText2' isn't defined for the class 'TextTheme'.
- 'TextTheme' is from 'package:flutter/src/material/text_theme.dart'
('../../../../softwares/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 'bodyText2'.
width: (Theme.of(context).textTheme.bodyText2?.fontSize ?? 14) * 10,
This bumps the version to one that is definitely working. Tested with the example app.
Current version of colorpicker being resolved to 1.0.3 doesn't work anymore with any updated Flutter versions:
This bumps the version to one that is definitely working. Tested with the example app.