From df10368adfbcfef60b409f5df21e7b97e4bf4968 Mon Sep 17 00:00:00 2001 From: Brad Date: Wed, 11 Dec 2024 19:11:07 -0500 Subject: [PATCH] Fix docs for ColorEffect ColorEffect in the docs is using an positional parameter for opacityFrom, but its actually a named parameter. --- doc/flame/effects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/flame/effects.md b/doc/flame/effects.md index 4e25e89ada1..6ef54a53b37 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, ); ```