Syntax class Null safety Compile

An enum of syntaxes that Sass can parse.

Annotations

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object 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.
Syntax._("CSS")
sass → const Syntax
The whitespace-sensitive indented syntax.
Syntax._("Sass")
scss → const Syntax
The CSS-superset SCSS syntax.
Syntax._("SCSS")