findDependencies function Null safety Dependencies

Tuple2<List<Uri>, List<Uri>> findDependencies(
  1. Stylesheet stylesheet
)

Returns two lists of dependencies for stylesheet.

The first is a list of URLs from all @use and @forward rules in stylesheet (excluding built-in modules). The second is a list of all imports in stylesheet.

Implementation

Tuple2<List<Uri>, List<Uri>> findDependencies(Stylesheet stylesheet) =>
    _FindDependenciesVisitor().run(stylesheet);