GalleryDetailConfig class

查看大图配置

Inheritance
  • Object
  • BaseConfig
  • GalleryDetailConfig

Constructors

GalleryDetailConfig({BaseTextStyle? appbarTitleStyle, BaseTextStyle? appbarActionStyle, Color? appbarBackgroundColor, AppBarConfig? appbarConfig, BaseTextStyle? tabBarUnSelectedLabelStyle, BaseTextStyle? tabBarLabelStyle, Color? tabBarBackgroundColor, Color? pageBackgroundColor, Color? bottomBackgroundColor, BaseTextStyle? titleStyle, BaseTextStyle? contentStyle, BaseTextStyle? actionStyle, Color? iconColor, String configId = GLOBAL_CONFIG_ID})
遵循全局配置 默认为 BaseGalleryConfigUtils.defaultGalleryDetailConfig
GalleryDetailConfig.dark({String configId = GLOBAL_CONFIG_ID})
黑色主题
GalleryDetailConfig.light({String configId = GLOBAL_CONFIG_ID})
白色主题

Properties

actionStyle → BaseTextStyle
no setter
appbarActionStyle → BaseTextStyle
no setter
appbarBackgroundColor Color
no setter
appbarConfig → AppBarConfig
no setter
appbarTitleStyle → BaseTextStyle
no setter
bottomBackgroundColor Color
no setter
commonConfig → BaseCommonConfig
no setterinherited
configId String
no setterinherited
contentStyle → BaseTextStyle
no setter
hashCode int
The hash code for this object.
no setterinherited
iconColor Color
no setter
pageBackgroundColor Color
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabBarBackgroundColor Color
no setter
tabBarLabelStyle → BaseTextStyle
no setter
tabBarUnSelectedLabelStyle → BaseTextStyle
no setter
titleStyle → BaseTextStyle
no setter

Methods

copyWith({BaseTextStyle? appbarTitleStyle, BaseTextStyle? appbarActionStyle, Color? appbarBackgroundColor, AppBarConfig? appbarConfig, BaseTextStyle? tabBarUnSelectedLabelStyle, Color? tabBarUnselectedLabelColor, BaseTextStyle? tabBarLabelStyle, Color? tabBarLabelColor, Color? tabBarBackgroundColor, Color? indicatorColor, Color? pageBackgroundColor, Color? bottomBackgroundColor, BaseTextStyle? titleStyle, BaseTextStyle? contentStyle, BaseTextStyle? actionStyle, Color? iconColor}) GalleryDetailConfig
initThemeConfig(String configId, {BaseCommonConfig? currentLevelCommonConfig}) → void
部分代码示意如下:
override
initThemeConfigPersonal() → void
当自定义组件的配置时调用 根据自定义时传入的 configId 对配置字段打平
inherited
merge(GalleryDetailConfig? other) GalleryDetailConfig
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