You might be knowing we need an emulator for testing our main.dart.
For people who are not interested in installing the Android studio, VScode is another option. We can use our phone as a virtual device.
In order to do that, we need to turn on Developer settings in our phone.
So, we can directly search for developer settings and turn on the USB debugging setting On.
In case if you didn’t find any such thing on your phone. Follow these steps.
- Search for Build number in your phone settings.
- Tap it 7 times to turn on your developer settings
- Go to Developer settings and Turn on USB debugging option and create great things with Flutter and Dart.
Feel free to share your work in the comment section.