BrnThemeConfigurator class

Properties

globalConfig Map<String, BrnAllThemeConfig>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getConfig({String configId = GLOBAL_CONFIG_ID}) BrnAllThemeConfig
获取合适的配置 1、获取 configId 对应的全局主题配置, 2、若获取的为 null,则使用默认的全局配置。 3、若没有配置 GLOBAL_CONFIG_ID ,则使用 BRUNO 的配置。
isBrunoConfig() bool
检查是否有默认配置
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(BrnAllThemeConfig? allThemeConfig, {String configId = GLOBAL_CONFIG_ID}) → void
手动注册时,默认注册渠道是 GLOBAL_CONFIG_ID
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance BrnThemeConfigurator
no setter