mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 20:36: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:
@ -17,7 +17,7 @@ around trying not to hit them.
|
||||
Ray2? ray;
|
||||
Ray2? reflection;
|
||||
Vector2 origin = Vector2(250, 100);
|
||||
Paint paint = Paint()..color = Colors.amber.withOpacity(0.6);
|
||||
Paint paint = Paint()..color = Colors.amber.withValues(alpha: 0.6);
|
||||
final speed = 100;
|
||||
final inertia = 3.0;
|
||||
final safetyDistance = 50;
|
||||
|
||||
Reference in New Issue
Block a user