MediaCollectionTheme constructor
const
MediaCollectionTheme({
- Color arrowColor = defaultIconColor,
- Color arrowBgColor = defaultIconBgColor,
- Color playIconBgColor = defaultIconColor,
- Color playIconColor = defaultIconBgColor,
- Color audioIconBgColor = defaultIconColor,
- Color audioIconColor = defaultIconBgColor,
- Color audioPlayerBgColor = defaultIconBgColor,
- double playIconSize = defaultIconSize,
- double audioIconSize = defaultIconSize,
- double playIconBgSize = defaultIconBgSize,
- double audioIconBgSize = defaultIconBgSize,
- Color videoPlaceholderBgColor = defaultIconBgColor,
- Color videoPlaceholderIconBgColor = defaultIconColor,
- double mainItemHeight = defaultMainItemHeight,
- double subItemHeight = defaultSubItemHeight,
- double dividerWidth = defaultDividerWidth,
- Color videoBgColor = defaultVideoBgColor,
- int mainItemFlex = defaultMainItemFlex,
- int subItemFlex = defaultSubItemFlex,
- double playIconOpacity = defaultPlayIconOpacity,
The constructor for the media collection theme (default values are provided).
Implementation
const MediaCollectionTheme({
this.arrowColor = defaultIconColor,
this.arrowBgColor = defaultIconBgColor,
this.playIconBgColor = defaultIconColor,
this.playIconColor = defaultIconBgColor,
this.audioIconBgColor = defaultIconColor,
this.audioIconColor = defaultIconBgColor,
this.audioPlayerBgColor = defaultIconBgColor,
this.playIconSize = defaultIconSize,
this.audioIconSize = defaultIconSize,
this.playIconBgSize = defaultIconBgSize,
this.audioIconBgSize = defaultIconBgSize,
this.videoPlaceholderBgColor = defaultIconBgColor,
this.videoPlaceholderIconBgColor = defaultIconColor,
this.mainItemHeight = defaultMainItemHeight,
this.subItemHeight = defaultSubItemHeight,
this.dividerWidth = defaultDividerWidth,
this.videoBgColor = defaultVideoBgColor,
this.mainItemFlex = defaultMainItemFlex,
this.subItemFlex = defaultSubItemFlex,
this.playIconOpacity = defaultPlayIconOpacity,
});