MediaCollectionTheme class

The theme for the media collection previewer.

Constructors

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).
const

Properties

arrowBgColor Color
The color of the arrow icon background.
final
arrowColor Color
The color of the arrow icon.
final
audioIconBgColor Color
The color of the audio icon background.
final
audioIconBgSize double
The size of the audio icon background.
final
audioIconColor Color
The color of the audio icon.
final
audioIconSize double
The size of the audio icon.
final
audioPlayerBgColor Color
The color of the audio player background.
final
dividerWidth double
The width of the divider between the media items.
final
hashCode int
The hash code for this object.
no setterinherited
mainItemFlex int
The flex percentage of the main item in the grid view.
final
mainItemHeight double
The height of the main item in the grid view.
final
playIconBgColor Color
The color of the play icon background.
final
playIconBgSize double
The size of the play icon background.
final
playIconColor Color
The color of the play icon.
final
playIconOpacity double
final
playIconSize double
The size of the play icon.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subItemFlex int
The flex percentage of the sub item in the grid view.
final
subItemHeight double
The height of the sub item in the grid view.
final
videoBgColor Color
final
videoPlaceholderBgColor Color
The color of the video placeholder background.
final
videoPlaceholderIconBgColor Color
The color of the video placeholder icon background.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited