ExpressionValues class abstract interface

BoundValues that also work out expressions with names of the caller's own over the node's: a draw list's item, index and size (render/custom_paint.dart). The runtime's values are these.

Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

evaluate(String expression, [Map<String, Object?> locals = const {}]) → Object?
The value of expression (${path}, ${= formula}, or text holding them), locals read before the node's names.
interpolate(String text) → String
text with every ${...} replaced by its value's text.
inherited
namesRead(String expression) → Set<String>
The root names expression reads (cells for ${cells[index]}).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String path) → Object?
The value at path, or null.
inherited
toString() → String
A string representation of this object.
inherited
variable(String path) → BoundVariable?
The variable path's name declares, or null when it's none (a list item, an undeclared name).
inherited
watch(String path) → Listenable?
What tells that the value at path changed (the same object each time, for the same name), or null when nothing declares its name.
inherited
write(String path, Object? value) → bool
Sets path in the variable that declares it; whether one changed.
inherited

Operators

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