setPubRootDirectories method

  1. @protected
void setPubRootDirectories (
  1. List<String> pubRootDirectories

Set the list of directories that should be considered part of the local project.

The local project directories are used to distinguish widgets created by the local project over widgets created from inside the framework.


void setPubRootDirectories(List<String> pubRootDirectories) {
  _pubRootDirectories = pubRootDirectories
    .map<String>((String directory) => Uri.parse(directory).path)