createMeasureValue method

Widget createMeasureValue(
  1. BuildContext context,
  2. LegendEntry legendEntry,
  3. TappableLegend legend,
  4. bool isHidden,
)

Implementation

Widget createMeasureValue(BuildContext context,
    common.LegendEntry legendEntry, TappableLegend legend, bool isHidden) {
  return GestureDetector(
      onTapUp: makeTapUpCallback(context, legendEntry, legend),
      child: Text(legendEntry.formattedValue!));
}