ValidateOptions class final
What a document is checked against beyond itself.
Constructors
-
ValidateOptions({Set<
String> screens = const {}, Set<String> variables = const {}, FormulaChecker? formulas, Breakpoints? breakpoints, ComponentLibrary? components, ThemeTokens? theme, Level? level}) -
const
Properties
- breakpoints → Breakpoints?
-
The project's breakpoints when the document doesn't carry them.
final
- components → ComponentLibrary?
-
The project's component definitions: calls to them are checked against
their declarations (validateProject gives the documents' own).
final
- formulas → FormulaChecker?
-
Parses formulas (
${= ...}); see FormulaChecker. Without one, formulas are only checked for closing braces.final - hashCode → int
-
The hash code for this object.
no setterinherited
- level → Level?
-
The level the author was granted (docs/design/12): anything the
document uses above it is reported (
above_level). Null: no limit.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
screens
→ Set<
String> -
Screen ids (canvas and layout ids) of the other documents of the
project, which navigation may name.
final
- theme → ThemeTokens?
-
The project's theme (the site manifest's): the color and text style
names documents may use. Null: no theme, so any name is reported.
final
-
variables
→ Set<
String> -
Variables declared elsewhere (the app's), which expressions may read.
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