flutter No Material widget found. code example
Example: No Material widget found. TextField widgets require a Material widget ancestor.
Widget LoginPage() {
return new Scaffold(body: *your whole code*)
}
Widget LoginPage() {
return new Scaffold(body: *your whole code*)
}