INNER CODE UNIT · Dart

_trimEnd

LeGoffMael/video_editor · lib/src/controller.dart:300

    _trimEnd = videoDuration * maxTrim;

    if (_trimStart != Duration.zero || _trimEnd != videoDuration) {
      _isTrimmed = true;
    } else {
      _isTrimmed = false;
    }

    _checkUpdateDefaultCover();

    notifyListeners();
  }

  /// Get the [isTrimmed]
  ///
  /// `true` if the trimmed value has beem changed
  bool get isTrimmed => _isTrimmed;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…