Flutter runs the basic demo application every time I run the app. My code changes are reflected only after performing a hot restart. I tried running flutter clean
but no help. This is really frustrating. What could be the reason?
Asked
Active
Viewed 91 times
0

Chaythanya Nair
- 4,774
- 6
- 32
- 40
-
what you are passing in your runApp() method? – Dhrumil Shah - dhuma1981 Jun 04 '18 at 07:19
-
`void main() => runApp(new MyApp());` `MyApp()` is a StatelessWidget. Here is the entire `main.dart`: https://pastebin.com/VQqTdhEr – Chaythanya Nair Jun 04 '18 at 09:24
-
You have used MateriaApp inside MaterialApp I guess that can be a problem. – Dhrumil Shah - dhuma1981 Jun 04 '18 at 10:07