makeTapUpCallback method

GestureTapUpCallback makeTapUpCallback(
  1. BuildContext context,
  2. LegendEntry legendEntry,
  3. TappableLegend legend
)

Implementation

GestureTapUpCallback makeTapUpCallback(BuildContext context,
    common.LegendEntry legendEntry, TappableLegend legend) {
  return (TapUpDetails d) {
    legend.onLegendEntryTapUp(legendEntry);
  };
}