Я очень новичок во флаттере и дротике, я только что создал свое приложение и, поскольку оно автоматически создает шаблонное приложение, выдает ошибку в файле widget_test.dart в тестовой папке
The function 'myApp' isn't defined.
Try importing the library that defines 'myApp', correcting the name to the name of an existing function, or defining a function named 'myApp'.
{
"resource": "/D:/development/hello_rectangle/test/widget_test.dart",
"owner": "dart",
"code": "undefined_function",
"severity": 8,
"message": "The function 'myApp' isn't defined.\nTry importing the library that defines 'myApp', correcting the name to the name of an existing function, or defining a function named 'myApp'.",
"source": "dart",
"startLineNumber": 16,
"startColumn": 29,
"endLineNumber": 16,
"endColumn": 34,
"tags": []
}
Я пытался обновить флаттер, но он не работает !!