DrawOp class sealed
One draw operation: {"op": name, ...}. Every op may carry an id
(editor selection, a binding path customPaint.painter.<id>.<field>)
and when (false skips it). Keys an op doesn't know are kept in
extra and written back.
- Implementers
- Annotations
-
- @immutable
Properties
- extra → Json
-
Keys this version doesn't model.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
final
- op → String
-
The JSON
op.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
when
→ Expr<
bool> ? -
Drawn only while it holds (Flutter's
if (cond)); null: always.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override