If you have upgraded your flutter SDK version to 2.5.0 you might been seeing a warning been shown on every widget that use static data to add 'const' modifier at the beginning on the widget
This is because by default we now have the flutter_lints rules.
It is a good practive using the const keyword. However if you fill like removing it, you can edit your analysis_options.yaml file and add the following:
prefer_const_constructors : false
and then run a command 'dart fix'
Support Proto Coders Point: https://www.buymeacoffee.com/rajatpalankar
Comment below for any queries 😀
Follow and support me:
🐦 Twitter: https://twitter.com/rajatpalankar
💬 Facebook: https://www.facebook.com/protocoderspoint/
💸 Instagram: https://www.instagram.com/protocoderspoint/
Be sure to ask for help in the comments if you need any. Suggestions for future Flutter tutorials are also very welcome! :)
For mobile application development keep learning freely from proto coders point