DrawOpSpec class final

A draw op, as an editor shows it.

Constructors

DrawOpSpec(String op, {required String label, required String flutter, required List<PropDef<Object?>> fields, String doc = ''})
const

Properties

doc → String
final
fields → List<PropDef<Object?>>
Its own fields (not DrawOpCommonFields).
final
flutter → String
What it is in Flutter (Canvas.drawCircle).
final
hashCode → int
The hash code for this object.
no setterinherited
label → String
final
op → String
The JSON op.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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