diff --git a/doc/flame/effects.md b/doc/flame/effects.md index 4e25e89ada..6ef54a53b3 100644 --- a/doc/flame/effects.md +++ b/doc/flame/effects.md @@ -538,7 +538,7 @@ Usage example: final effect = ColorEffect( const Color(0xFF00FF00), EffectController(duration: 1.5), - opacityFrom = 0.2, + opacityFrom: 0.2, opacityTo: 0.8, ); ```