I am very beginner in flutter and dart, I just created my app and as it automatically creates a template app, It throws an error in widget_test.dart file in test folder
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": []
}
I've tried upgrading flutter but it won't work!!