module - Dart library import shortcuts -
in cases have import main file library in dart have do:
import 'package:<package_name>/<package_name>.dart';
is there shorthand doing in dart?
something like
import 'package:<package_name>';
cause mentioning package name twice seems redundant.
seems redundant there no way around. new "add import" quick fix makes non-issue imho.
- darteditor ctrl+1
- webstorm/intellij ctrl+enter
you have wait until analyzing done , hint/warning (wiggled underline) shown.
Comments
Post a Comment