```
final paint = Paint();
// paint.color = Colors.white.withOpacity(0.02);
// paint.color = Colors.transparent;
// paint.color = const Color(0x0F000000);
paint.color = const Color.fromRGBO(0, 0, 0, 0.2);
paint.colorFilter = ColorFilter.mode(ParticleHelper.randomMaterialColor(), BlendMode.srcATop);
final sprite1 = SpriteComponent(
sprite: sprite,
size: 128,
anchor: Anchor.center,
paint: paint,
);
// sprite1.add(OpacityEffect.to(0.02, EffectController(duration: 0)));
sprite1.add(OpacityEffect.fadeIn(EffectController(duration: 1)));
add(sprite1);
```
wono
|
Do you want to delete?