Syntax class

An enum of syntaxes that Sass can parse.

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

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

Static Methods

forPath(String path) Syntax
Returns the default syntax to use for a file loaded from path.

Constants

css → const Syntax
The plain CSS syntax, which disallows special Sass features.
const Syntax._("CSS")
sass → const Syntax
The whitespace-sensitive indented syntax.
const Syntax._("Sass")
scss → const Syntax
The CSS-superset SCSS syntax.
const Syntax._("SCSS")