BrnGalleryDetailConfig class

查看大图配置

Inheritance

Constructors

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

Properties

actionStyle BrnTextStyle
no setter
appbarActionStyle BrnTextStyle
no setter
appbarBackgroundColor Color
no setter
appbarConfig BrnAppBarConfig
no setter
appbarTitleStyle BrnTextStyle
no setter
bottomBackgroundColor Color
no setter
commonConfig BrnCommonConfig
no setterinherited
configId String
no setterinherited
contentStyle BrnTextStyle
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 BrnTextStyle
no setter
tabBarUnSelectedLabelStyle BrnTextStyle
no setter
titleStyle BrnTextStyle
no setter

Methods

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