refactor: Fix lint issues from latest flutter release (#3390)

Updates to use the new color method `withValues`.

---------

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>
Co-authored-by: Jochum van der Ploeg <jochum@vdploeg.net>
This commit is contained in:
Mike Diarmid
2024-12-13 21:40:54 +00:00
committed by GitHub
parent d4094b2a1b
commit 978ad31b42
104 changed files with 284 additions and 150 deletions

View File

@ -23,8 +23,8 @@ bounce on will appear.
''';
final _colorTween = ColorTween(
begin: Colors.amber.withOpacity(1.0),
end: Colors.lightBlueAccent.withOpacity(1.0),
begin: Colors.amber.withValues(alpha: 1.0),
end: Colors.lightBlueAccent.withValues(alpha: 1.0),
);
final random = Random();
Ray2? ray;