Skip to content

Commit

Permalink
Document VideoViewType on Dart side
Browse files Browse the repository at this point in the history
  • Loading branch information
FirentisTFW committed Nov 20, 2024
1 parent e937777 commit 20c5270
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class MiniController extends ValueNotifier<VideoPlayerValue> {
/// Only set for [asset] videos. The package that the asset was loaded from.
final String? package;

// FIXME Document
/// The type of view used to display the video.
final VideoViewType viewType;

Timer? _timer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,12 @@ abstract class VideoPlayerPlatform extends PlatformInterface {

class _PlaceholderImplementation extends VideoPlayerPlatform {}

// FIXME Add docs
/// Enum representing the type of video view to be used.
enum VideoViewType {
/// Uses a texture view for rendering video.
textureView,

/// Uses a platform view for rendering video.
platformView,
}

Expand Down

0 comments on commit 20c5270

Please sign in to comment.