1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] Android studio shows can not find Declaration to go to in flutter project

Discussão em 'Mobile' iniciado por Stack, Novembro 6, 2024 às 04:22.

  1. Stack

    Stack Membro Participativo

    while working on a flutter project, Android studio behaving strangely for some of the dart files is shows Cannot find declaration to go to even for BuildContext. ( Project runs without any errors )

    issue snapshot:

    [​IMG]

    while some of the dart files in the same project are able to go to the declarations and find the references.

    I have already tried the following methods:

    • Invalidate cache and restart
    • deleted .idea folder
    • updated flutter plugin

    None of the above methods worked for me, Is there any way to resolve this error? any suggestions or solutions would be very helpful.

    Continue reading...

Compartilhe esta Página