team property

GestureArenaTeam team

The team that this recognizer belongs to, if any.

If team is null, this recognizer competes directly in the GestureArenaManager to recognize a sequence of pointer events as a gesture. If team is non-null, this recognizer competes in the arena in a group with other recognizers on the same team.

A recognizer can be assigned to a team only when it is not participating in the arena. For example, a common time to assign a recognizer to a team is shortly after creating the recognizer.

Implementation

GestureArenaTeam get team => _team;
void team= (GestureArenaTeam value)

The team can only be set once.

Implementation

set team(GestureArenaTeam value) {
  assert(value != null);
  assert(_entries.isEmpty);
  assert(_trackedPointers.isEmpty);
  assert(_team == null);
  _team = value;
}