BaseCommonConfig class

描述: 全局配置 配置属性:色值、字体大小、间距、圆角

Inheritance

Constructors

BaseCommonConfig({Color? brandPrimary, Color? brandPrimaryTap, Color? brandSuccess, Color? brandWarning, Color? brandError, Color? brandImportant, Color? brandImportantValue, Color? brandAuxiliary, Color? colorTextBase, Color? colorTextImportant, Color? colorTextBaseInverse, Color? colorTextSecondary, Color? colorTextDisabled, Color? colorTextHint, Color? colorLink, Color? fillBase, Color? fillBody, Color? fillMask, Color? borderColorBase, Color? dividerColorBase, double? fontSizeBebas, double? fontSizeHeadLg, double? fontSizeBase, double? fontSizeHead, double? fontSizeSubHead, double? fontSizeCaption, double? fontSizeCaptionSm, double? radiusXs, double? radiusSm, double? radiusMd, double? radiusLg, double? borderWidthSm, double? borderWidthMd, double? borderWidthLg, double? hSpacingXs, double? hSpacingSm, double? hSpacingMd, double? hSpacingLg, double? hSpacingXl, double? hSpacingXxl, double? vSpacingXs, double? vSpacingSm, double? vSpacingMd, double? vSpacingLg, double? vSpacingXl, double? vSpacingXxl, double? iconSizeXxs, double? iconSizeXs, double? iconSizeSm, double? iconSizeMd, double? iconSizeLg, String configId = GLOBAL_CONFIG_ID})
BaseCommonConfig.autoFlatConfig({Color? brandPrimary, Color? brandPrimaryTap, Color? brandSuccess, Color? brandWarning, Color? brandError, Color? brandImportant, Color? brandImportantValue, Color? brandAuxiliary, Color? colorTextBase, Color? colorTextImportant, Color? colorTextBaseInverse, Color? colorTextSecondary, Color? colorTextDisabled, Color? colorTextHint, Color? colorLink, Color? fillBase, Color? fillBody, Color? fillMask, Color? borderColorBase, Color? dividerColorBase, double? fontSizeBebas, double? fontSizeHeadLg, double? fontSizeBase, double? fontSizeHead, double? fontSizeSubHead, double? fontSizeCaption, double? fontSizeCaptionSm, double? radiusXs, double? radiusSm, double? radiusMd, double? radiusLg, double? borderWidthSm, double? borderWidthMd, double? borderWidthLg, double? hSpacingXs, double? hSpacingSm, double? hSpacingMd, double? hSpacingLg, double? hSpacingXl, double? hSpacingXxl, double? vSpacingXs, double? vSpacingSm, double? vSpacingMd, double? vSpacingLg, double? vSpacingXl, double? vSpacingXxl, double? iconSizeXxs, double? iconSizeXs, double? iconSizeSm, double? iconSizeMd, double? iconSizeLg, String configId = GLOBAL_CONFIG_ID})

Properties

borderColorBase Color
no setter
borderWidthLg double
no setter
borderWidthMd double
no setter
borderWidthSm double
no setter
brandAuxiliary Color
no setter
brandError Color
no setter
brandImportant Color
no setter
brandImportantValue Color
no setter
brandPrimary Color
no setter
brandPrimaryTap Color
no setter
brandSuccess Color
no setter
brandWarning Color
no setter
no setter
colorTextBase Color
no setter
colorTextBaseInverse Color
no setter
colorTextDisabled Color
no setter
colorTextHint Color
no setter
colorTextImportant Color
no setter
colorTextSecondary Color
no setter
commonConfig BaseCommonConfig
no setterinherited
configId String
no setterinherited
dividerColorBase Color
no setter
fillBase Color
no setter
fillBody Color
no setter
fillMask Color
no setter
fontSizeBase double
no setter
fontSizeBebas double
no setter
fontSizeCaption double
no setter
fontSizeCaptionSm double
no setter
fontSizeHead double
no setter
fontSizeHeadLg double
no setter
fontSizeSubHead double
no setter
hashCode int
The hash code for this object.
no setterinherited
hSpacingLg double
no setter
hSpacingMd double
no setter
hSpacingSm double
no setter
hSpacingXl double
no setter
hSpacingXs double
no setter
hSpacingXxl double
no setter
iconSizeLg double
no setter
iconSizeMd double
no setter
iconSizeSm double
no setter
iconSizeXxs double
no setter
radiusLg double
no setter
radiusMd double
no setter
radiusSm double
no setter
radiusXs double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vSpacingLg double
no setter
vSpacingMd double
no setter
vSpacingSm double
no setter
vSpacingXl double
no setter
vSpacingXs double
no setter
vSpacingXxl double
no setter

Methods

initThemeConfig(String configId, {BaseCommonConfig? currentLevelCommonConfig}) → void
优先级 GLOBAL_CONFIG_ID 获取配置 > PHOENIX_CONFIG_ID 获取配置
override
initThemeConfigPersonal() → void
当自定义组件的配置时调用 根据自定义时传入的 configId 对配置字段打平
inherited
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

Constants

hd → const double
基本单位