MediaCollectionTheme constructor

const MediaCollectionTheme({
  1. Color arrowColor = defaultIconColor,
  2. Color arrowBgColor = defaultIconBgColor,
  3. Color playIconBgColor = defaultIconColor,
  4. Color playIconColor = defaultIconBgColor,
  5. Color audioIconBgColor = defaultIconColor,
  6. Color audioIconColor = defaultIconBgColor,
  7. Color audioPlayerBgColor = defaultIconBgColor,
  8. double playIconSize = defaultIconSize,
  9. double audioIconSize = defaultIconSize,
  10. double playIconBgSize = defaultIconBgSize,
  11. double audioIconBgSize = defaultIconBgSize,
  12. Color videoPlaceholderBgColor = defaultIconBgColor,
  13. Color videoPlaceholderIconBgColor = defaultIconColor,
  14. double mainItemHeight = defaultMainItemHeight,
  15. double subItemHeight = defaultSubItemHeight,
  16. double dividerWidth = defaultDividerWidth,
  17. Color videoBgColor = defaultVideoBgColor,
  18. int mainItemFlex = defaultMainItemFlex,
  19. int subItemFlex = defaultSubItemFlex,
  20. 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,
});