return

android

else

return

not recognised

In Flutter, use the following implementation:

Debugging

What tools can I use to debug my app in Flutter?

Use the DevTools suite for debugging Flutter or Dart apps.

DevTools includes support for profiling, examining the heap,
inspecting the widget tree, logging diagnostics, debugging,
observing executed lines of code, debugging memory leaks and memory
fragmentation. For more information, see the
DevTools documentation.

If you’re using an IDE,
you can debug your application using the IDE’s debugger.

How do I perform a hot reload?