ViewerElement<T> constructor

ViewerElement<T>(
  1. T? value,
  2. Color? color, {
  3. ValueCopier<T>? valueCopier,
  4. int? strokeSize,
})

Implementation

ViewerElement(this.value, this.color, {this.valueCopier, int? strokeSize})
    : strokeSize = strokeSize != null && strokeSize > 0 ? strokeSize : null;