GalleryDetailConfig.dark constructor
GalleryDetailConfig.dark({
- String configId = GLOBAL_CONFIG_ID,
黑色主题
Implementation
GalleryDetailConfig.dark({
String configId = GLOBAL_CONFIG_ID,
}) : super(configId: configId) {
_appbarTitleStyle = BaseTextStyle(color: commonConfig.colorTextBaseInverse);
_appbarActionStyle =
BaseTextStyle(color: phoenix.AppBarTheme.lightTextColor);
_appbarBackgroundColor = Colors.black;
_appbarConfig = phoenix.AppBarConfig.dark();
_tabBarUnSelectedLabelStyle = BaseTextStyle(color: Color(0XFFCCCCCC));
_tabBarLabelStyle = BaseTextStyle(color: commonConfig.colorTextBaseInverse);
_tabBarBackgroundColor = Colors.black;
_pageBackgroundColor = Colors.black;
_bottomBackgroundColor = Color(0X88000000);
_titleStyle = BaseTextStyle(color: commonConfig.colorTextBaseInverse);
_contentStyle = BaseTextStyle(color: Color(0xFFCCCCCC));
_actionStyle = BaseTextStyle(color: commonConfig.colorTextBaseInverse);
_iconColor = Colors.white;
}