Constructors
VideoFeedConfiguration ({String ? backgroundColor , double ? cornerRadius , VideoFeedTitleConfiguration ? title , VideoFeedTitlePosition ? titlePosition , VideoFeedPadding ? titlePadding , VideoFeedPlayIconConfiguration ? playIcon , bool ? showAdBadge , double ? aspectRatio , VideoFeedPadding ? contentPadding , double ? itemSpacing , bool ? enableAutoplay , int ? gridColumns } )
Properties
aspectRatio
↔ double ?
The aspect ratio(width / height) for video feed item.
Defaults to 4 / 6.
Only supported on iOS.
read / write
backgroundColor
↔ String ?
The background color of video feed.
If you don't set this property, the background will be transparent.
read / write
contentPadding
↔ VideoFeedPadding ?
The content padding for video feed.
Defaults to { top: 10, right: 10, bottom: 10, left: 10 }.
Only supported on iOS.
read / write
cornerRadius
↔ double ?
The corner radius of video feed.
Defaults to 10 on iOS. Defaults to 0 on Android.
read / write
enableAutoplay
↔ bool ?
Specifies if autoplay is enabled.
Defaults to false.
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.
Defaults to 2.
read / write
hashCode
→ int
The hash code for this object.
read-only override
itemSpacing
↔ double ?
The item spacing for video feed.
If you don't set this property, the item spacing will be 10 on iOS and 4px on Android.
read / write
playIcon
↔ VideoFeedPlayIconConfiguration ?
The configuration of video feed play icon.
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.
Defaults to false.
read / write
title
↔ VideoFeedTitleConfiguration ?
The configuration of video feed title.
read / write
titlePadding
↔ VideoFeedPadding ?
The padding of video feed title.
Defaults to { top: 8, right: 8, bottom: 8, left: 8 }.
Only supported on iOS.
read / write
titlePosition
↔ VideoFeedTitlePosition ?
The title position of video feed.
Defaults to nested.
read / write
fw_flutter_sdk
2.2.1-beta.3