flutter navigator is saying no material widget 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*)
}