TooltipRow constructor

const TooltipRow(
  1. String text, {
  2. Color? swatch,
})

Creates a tooltip row showing text with an optional color swatch.

Implementation

const TooltipRow(this.text, {this.swatch});