Player deck configurations (Flutter)
Customize player deck appearance and layout
final playerDeckConfiguration = PlayerDeckConfiguration(
// Configure background color
backgroundColor: "#FFFFFF",
// Configure the corner radius for each deck item
cornerRadius: 8,
// Configure the spacing between each deck item
itemSpacing: 16,
// Configure content padding
contentPadding: PlayerDeckPadding(
top: 10,
right: 10,
bottom: 10,
left: 10,
),
);
PlayerDeck(
height: 481,
source: VideoFeedSource.discover,
playerDeckConfiguration: playerDeckConfiguration,
);Customize player deck item controls
Customize player deck subtitles
Update player deck configuration
Last updated
Was this helpful?