setTrackOutgoingEventThreshold method

bool setTrackOutgoingEventThreshold(
  1. int track,
  2. double threshold
)

How far into a crossfade on track the outgoing animation keeps firing events: while its share of the track, 1 - progress, is at least threshold. The default, infinity, silences it the moment the fade begins, when the incoming one starts firing; 0.5 keeps it firing for the first half. Kept by the track, across setAnimation too on track 0.

Implementation

bool setTrackOutgoingEventThreshold(int track, double threshold) =>
    _setting('setTrackOutgoingEventThreshold',
        (i) => i.setTrackOutgoingEventThreshold(track, threshold),
        track: track);