mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 19:12:31 +08:00
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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user