I have cloned a project from github, it is working perfectly fine. The two issues I have is -
Whenever I put a print statement it warns me saying - Avoid Print calls in production code
The second one, it warns me about adding const to widgets. Why would I need to append const to widgets? I know there is avoid statement that you can put in on top to get rid of these warnings, but I would like to know why there is a warning. Example below -
children: [ const Text('Sign in with your phone number below'), const SizedBox(height: 18), ]
Could someone explain how to change this project from release mode to debug mode?