The named parameter 'color' isn't defined. Try correcting the name to an existing named parameter's name, or defining a named parameter with the name 'color'.

7,282 views
Skip to first unread message

Atahan Tanrıkulu

unread,
Apr 25, 2021, 1:58:55 PM4/25/21
to Flutter Development (flutter-dev)
I get that error and I tried 'flutter clean' and 'Restart and Invalidate Cache' and 'restarting the Analysis Dart Server', however I couldn't fixed it. 
Screen Shot 2021-04-25 at 20.53.57.png
Screen Shot 2021-04-25 at 20.54.03.png

Suzuki Tomohiro

unread,
Apr 25, 2021, 2:35:11 PM4/25/21
to Atahan Tanrıkulu, Flutter Development (flutter-dev)
Can you share the URL of the widget that should have color and textColor parameter in its constructor?

On Sun, Apr 25, 2021 at 13:59 Atahan Tanrıkulu <tanriku...@gmail.com> wrote:
I get that error and I tried 'flutter clean' and 'Restart and Invalidate Cache' and 'restarting the Analysis Dart Server', however I couldn't fixed it. 

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/e95bd037-6f81-47ad-a02c-d93124b748b0n%40googlegroups.com.

Atahan Tanrıkulu

unread,
Apr 26, 2021, 3:05:55 AM4/26/21
to Flutter Development (flutter-dev)
I don't know how to share the widget's URL, could you help me with that? 

25 Nisan 2021 Pazar tarihinde saat 21:35:11 UTC+3 itibarıyla suz...@gmail.com şunları yazdı:

Suzuki Tomohiro

unread,
Apr 26, 2021, 7:30:05 AM4/26/21
to Atahan Tanrıkulu, Flutter Development (flutter-dev)
In your screenshot, the name of the widget you’re using is hidden. What’s the widget that’s complaining?


Atahan Tanrıkulu

unread,
Apr 26, 2021, 7:32:42 AM4/26/21
to Flutter Development (flutter-dev)
I solved the problem with Arun's recommendation! Thanks for your helping! 

Here is the ss
26 Nisan 2021 Pazartesi tarihinde saat 14:30:05 UTC+3 itibarıyla suz...@gmail.com şunları yazdı:
Screen Shot 2021-04-26 at 14.30.43.png
Reply all
Reply to author
Forward
0 new messages