selectedTextOverlay property
VideoTextOverlay?
get
selectedTextOverlay
The text overlay matching the current selection, if any.
Implementation
VideoTextOverlay? get selectedTextOverlay {
final id = selectedTextId;
if (id == null) return null;
final index = textOverlays.indexWhere((o) => o.id == id);
return index == -1 ? null : textOverlays[index];
}