VideoContentElement class

VideoContentElement is a ContentElement with a video file as its content.

Inheritance

Constructors

VideoContentElement({required String name, required List<String?> src, required String? poster, required bool showControls, required bool autoplay, required bool loop, required bool muted, required double? width, required double? height, required Element node})

Properties

alignment PlaceholderAlignment
getter/setter pairinherited
attributes Map<String, String>
no setterinherited
autoplay bool
final
children List<StyledElement>
getter/setter pairinherited
element → Element?
no setterinherited
elementClasses List<String>
finalinherited
elementId String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
final
loop bool
final
muted bool
final
name String
finalinherited
poster String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showControls bool
final
src List<String?>
final
style Style
getter/setter pairinherited
width double?
final

Methods

matchesSelector(String selector) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toWidget(RenderContext context) Widget
override

Operators

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