GalleryDetailConfig.light constructor
GalleryDetailConfig.light({
- String configId = GLOBAL_CONFIG_ID,
白色主题
Implementation
GalleryDetailConfig.light({
String configId = GLOBAL_CONFIG_ID,
}) : super(configId: configId) {
_appbarTitleStyle = BaseTextStyle(color: commonConfig.colorTextBase);
_appbarActionStyle = BaseTextStyle(color: commonConfig.colorTextBase);
_appbarBackgroundColor = commonConfig.fillBody;
_appbarConfig = phoenix.AppBarConfig.light();
_tabBarUnSelectedLabelStyle = BaseTextStyle(
color: commonConfig.colorTextBase,
);
_tabBarLabelStyle = BaseTextStyle(color: commonConfig.brandPrimary);
_tabBarBackgroundColor = commonConfig.fillBody;
_pageBackgroundColor = commonConfig.fillBody;
_bottomBackgroundColor = commonConfig.fillBody.withOpacity(.85);
_titleStyle = BaseTextStyle(color: commonConfig.colorTextBase);
_contentStyle = BaseTextStyle(color: commonConfig.colorTextBase);
_actionStyle = BaseTextStyle(color: commonConfig.colorTextSecondary);
_iconColor = commonConfig.colorTextSecondary;
}