VideoFeedConfiguration class Null safety
Constructors
- VideoFeedConfiguration({String? backgroundColor, double? cornerRadius, VideoFeedTitleConfiguration? title, VideoFeedTitlePosition? titlePosition, VideoFeedPlayIconConfiguration? playIcon, bool? showAdBadge, String? customLayoutName, double? aspectRatio, VideoFeedContentPadding? contentPadding, double? itemSpacing, bool? enableAutoplay, int? gridColumns, bool? enablePictureInPicture})
Properties
- aspectRatio ↔ double?
-
The aspect ratio(width / height) for video feed item. Only supported on iOS.
read / write
- backgroundColor ↔ String?
-
The background color of video feed.
read / write
- contentPadding ↔ VideoFeedContentPadding?
-
The content padding for video feed. Only supported on iOS.
read / write
- cornerRadius ↔ double?
-
The corner radius of video feed. Only supported on iOS.
read / write
- customLayoutName ↔ String?
-
Custom layout name for video feed item. Only supported on Android.
read / write
- enableAutoplay ↔ bool?
-
Specifies if autoplay is enabled.
read / write
- enablePictureInPicture ↔ bool?
-
Specifies if Picture in Picture is enabled. Only supported on iOS.
read / write
- gridColumns ↔ int?
-
The number of feed items to be displayed per row.
The property only takes effect when video feed mode is grid.
The property value needs to be greater than 0.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, override
- itemSpacing ↔ double?
-
The item spacing for video feed. Only supported on iOS.
read / write
- playIcon ↔ VideoFeedPlayIconConfiguration?
-
The configuration of video feed play icon. Only supported on iOS.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- showAdBadge ↔ bool?
-
Indicates if the video feed shows ad badge.
read / write
- title ↔ VideoFeedTitleConfiguration?
-
The configuration of video feed title.
read / write
- titlePosition ↔ VideoFeedTitlePosition?
-
The title position of video feed.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
override