Did you know?
With VSCode, you can easily move your Dart classes and functions to a different file.
To use this, select any declaration name and press CMD+.
, then use the Move option.
The desired file will be created with all the required imports. 👍
Happy coding!