Relative vs package imports in Flutter and Dart

Why is my IDE complaining at me?

Perhaps you’ve seen one of these warnings in your IDE:

Messages like these come from Dart’s linting rules, which are warnings generated by dart analyze and communicated to you by your…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store