PreprocessorOptions class

Constructors

PreprocessorOptions({bool verbose = false, bool checked = false, bool lessSupport = true, bool warningsAsErrors = false, bool throwOnErrors = false, bool throwOnWarnings = false, bool useColors = true, bool polyfill = false, String? inputFile})
const

Properties

checked bool
True to show warning messages for bad CSS. The '--checked' flag.
final
hashCode int
The hash code for this object.
no setterinherited
inputFile String?
File to process by the compiler.
final
lessSupport bool
Subset of Less commands enabled; disable with '--no-less'. Less syntax supported:
final
polyfill bool
Generate polyfill code (e.g., var, etc.)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
throwOnErrors bool
Throw an exception on errors (not used by command line tool).
final
throwOnWarnings bool
Throw an exception on warnings (not used by command line tool).
final
useColors bool
Whether to use colors to print messages on the terminal.
final
verbose bool
True to show informational messages. The --verbose flag.
final
warningsAsErrors bool
Report warnings as errors.
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited