I am new to Flutter and I was trying do execute the example here. I just want to use the TextField widget to get some user input. The issue is that I get a \"No Material wid
In my case I was using a hero widget Inside a scaffold like this
Scaffold( body:Hero( child:ListView( children:[ TextField(), ... ... ] ) ) );
I simply moved the Hero Widget Outside Scaffold and it solved the problem
Hero( child:Scaffold( body:ListView( children:[ TextField(), ... ... ] ) ));