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

fix: Bump colorpicker version #118

Merged
merged 1 commit into from
Jun 6, 2024
Merged

fix: Bump colorpicker version #118

merged 1 commit into from
Jun 6, 2024

Conversation

luanpotter
Copy link
Member

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.

@spydon spydon merged commit 7cd1a01 into main Jun 6, 2024
3 checks passed
@spydon spydon deleted the luan.bump-picker branch June 6, 2024 12:11
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

Successfully merging this pull request may close these issues.

2 participants