Skip to content

Conversation

@a-s-russo
Copy link

The function withOpacity() and color role onBackground have been deprecated. They should be replaced with withValues(alpha: ...) and onSurface respectively.

See: https://docs.flutter.dev/release/breaking-changes/new-color-scheme-roles and https://docs.flutter.dev/release/breaking-changes/wide-gamut-framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant