_TypeError (type 'String' is not a subtype of type 'int')

683 views
Skip to first unread message

Ameya Paranjape

unread,
Mar 24, 2021, 9:31:33 AM3/24/21
to Flutter Development (flutter-dev)
Hi,

I have created a list for testing purposes in an app that I am developing. However, when I try to open the page and call the list I get the below error. Can someone please advise ?

Screenshot 2021-03-24 190106.png

Suzuki Tomohiro

unread,
Mar 24, 2021, 9:59:23 AM3/24/21
to Ameya Paranjape, Flutter Development (flutter-dev)
Glad to hear you solved the issue.

On Wed, Mar 24, 2021 at 9:56 AM Ameya Paranjape <amey...@gmail.com> wrote:
Hi Suzuki,

I was able to resolve the issue. Thanks for your help.
Have a nice day.

Regards,
Ameya

On Wed, 24 Mar 2021 at 19:18, Suzuki Tomohiro <suz...@gmail.com> wrote:
e[“pname”] is a string whereas the second argument of ProjectList constructor is int.
Use debugger and breakpoint to see type discrepancy.



--
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/56b85445-f0b9-45a3-afad-3b6c72dab4cfn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages