withOpacity() -> withValues()

This commit is contained in:
Ashita Prasad
2025-03-02 15:46:24 +05:30
parent af45fa0642
commit a55ec0308a
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ const kColorTransparent = Colors.transparent;
const kColorWhite = Colors.white;
const kColorBlack = Colors.black;
const kColorRed = Colors.red;
final kColorLightDanger = Colors.red.withOpacity(0.9);
final kColorLightDanger = Colors.red.withValues(alpha: 0.9);
const kColorDarkDanger = Color(0xffcf6679);
const kColorSchemeSeed = Colors.blue;