onTap method

Future<bool> onTap()

Implementation

Future<bool> onTap() async {
  if (!selectable) return true;
  var grid = findAncestorOfExactType(GridModel);
  if (grid is GridModel) {
    grid.onTap(this);
  }
  return true;
}