You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also it could be relative to the "current library" instead of the "current package", in other words, short for a path import, so:
import .src.bar;
would be short for:
import'src/bar.dart';
In fact, I tend to always use relative paths to import libraries in the same package. I've had problems with using 'package:` imports for that, and with mixing relative and 'package:' imports.
With #5 the alternative syntax is:
import foo:src.bar import :src.bar
Could instead continue using ".", but just allow omission of the first segment:
import foo.src.bar import .src.bar
The text was updated successfully, but these errors were encountered: