CustomMark class

The specification of a custom mark.

A custom mark has no special graphing rule. It accepts any built-in or custom Shapes.

It will not check or complete the position points.



CustomMark({ColorEncode? color, ElevationEncode? elevation, GradientEncode? gradient, LabelEncode? label, Varset? position, ShapeEncode<Shape>? shape, SizeEncode? size, List<Modifier>? modifiers, int? layer, Selected? selected, StreamController<Selected?>? selectionStream, Transition? transition, Set<MarkEntrance>? entrance, String? tag(Tuple)?})
Creates a custom mark.


color ColorEncode?
The color encode of this mark.
read / writeinherited
elevation ElevationEncode?
The shadow elevation encode of this mark.
read / writeinherited
entrance Set<MarkEntrance>?
The stratage for mark elements to enter in initialization if there is animation.
read / writeinherited
gradient GradientEncode?
The gradient encode of this mark.
read / writeinherited
hashCode int
The hash code for this object.
label LabelEncode?
The label encode of this mark.
read / writeinherited
layer int?
The layer of this mark.
read / writeinherited
modifiers List<Modifier>?
The collision modifiers applied to this mark.
read / writeinherited
position Varset?
Algebra expression of the mark position.
read / writeinherited
runtimeType Type
A representation of the runtime type of the object.
selected Selected?
The selection name and selected tuple indexes triggered initially.
read / writeinherited
selectionStream StreamController<Selected?>?
The interaction stream of selections.
read / writeinherited
shape ShapeEncode<Shape>?
The shape encode of this mark.
read / writeinherited
size SizeEncode?
The size encode of this mark.
read / writeinherited
tag ↔ (String? Function(Tuple)?)
Tags for each mark element.
read / writeinherited
transition Transition?
The transition animation of this mark.
read / writeinherited


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


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