InkHighlight highlightAt({RenderBox referenceBox, Color color, BoxShape shape: BoxShape.rectangle, RectCallback rectCallback, VoidCallback onRemoved })

Begin a highlight animation. If a rectCallback is given, then it provides the highlight rectangle, otherwise, the highlight rectangle is coincident with the referenceBox.

Source

InkHighlight highlightAt({
  RenderBox referenceBox,
  Color color,
  BoxShape shape: BoxShape.rectangle,
  RectCallback rectCallback,
  VoidCallback onRemoved
});