PackageImporter class

An importer that loads stylesheets from package: imports.

Inheritance
Annotations
  • @sealed

Constructors

PackageImporter(SyncPackageResolver _packageResolver)
Creates an importer that loads stylesheets from package: URLs according to packageResolver, which is a SyncPackageResolver from the package_resolver package. [...]

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

canonicalize(Uri url) → Uri
If url is recognized by this importer, returns its canonical format. [...]
override
load(Uri url) ImporterResult
Loads the Sass text for the given url, or returns null if this importer can't find the stylesheet it refers to. [...]
override
modificationTime(Uri url) → DateTime
Returns the time that the Sass file at url was last modified. [...]
override
toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited