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