setTrimSpan method
Updates the trim span and triggers the trim update callback.
Implementation
void setTrimSpan(TrimDurationSpan span) {
trimDurationSpanNotifier.value = TrimDurationSpan(
start: span.start,
end: span.end,
);
callbacks.onTrimSpanUpdate?.call(trimDurationSpanNotifier.value);
}