VideoPlayerDefaultLayout class final

LayoutConfiguration for the default VideoPlayer layout. Default layout for video player content.

Features:

  • Responsive aspect ratio
  • Rounded corners
  • Optional title/caption display
  • Loading and error states
  • Playback controls overlay

Example:

final layout = VideoPlayerDefaultLayout();
Inheritance
Annotations
  • @JsonSerializable.new()

Constructors

VideoPlayerDefaultLayout()
VideoPlayerDefaultLayout.fromJson(Map<String, dynamic> json)
factory

Properties

contentType Type
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaType String
The schema type of the content item.
finalinherited

Methods

build(BuildContext context, VideoPlayerItem content) Widget
Builds the layout widget tree for the given content item.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

typeDescriptor → TypeDescriptor<VideoPlayerDefaultLayout>
final

Constants

schemaName → const String