#154953 and #160616 added a dart fix for handling withOpacity() migrations to withValues(alpha:). The way that was introduced though doesn't work for most use cases because dart-fix can't find it unless the imports are in a specific way.
Sam has explained where the dart fix needs to be in order for this to work for everyone: dart-lang/sdk#59764 (comment)
#154953 and #160616 added a dart fix for handling
withOpacity()migrations towithValues(alpha:). The way that was introduced though doesn't work for most use cases because dart-fix can't find it unless the imports are in a specific way.Sam has explained where the dart fix needs to be in order for this to work for everyone: dart-lang/sdk#59764 (comment)