79400070

Date: 2025-01-30 13:34:12
Score: 0.5
Natty:
Report link

In Flutter v3.27, .withOpacity(0.3) has been replaced with .withValues(alpha: 0.3).

Before

Colors.red.withOpacity(0.3)

After

Colors.red.withValues(alpha: 0.3)

For more details, you can check the Flutter migration guide: Migration Guide

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mahmoud Al-shehyby