WindowPaintValue constructor
WindowPaintValue({})
Creates information for painting a widget.
The mode and color arguments must not be null, but each have default
values.
Implementation
WindowPaintValue({
this.mode = 'pan_zoom',
this.color = const Color(0xFF000000),
List<DrawObject>? objects,
this.colorBeforeSelection = const Color(0x00000000),
this.selectedObjectIndex = -1,
}) : objects = objects ?? [];