SantoButtonConfig class

按钮基础配置

尺寸档位对标 antd Button 的 size:large(大)、middle(中)、small(小)

Inheritance

Constructors

SantoButtonConfig({double? largeButtonRadius, double? largeButtonHeight, double? largeButtonFontSize, double? middleButtonRadius, double? middleButtonHeight, double? middleButtonFontSize, double? smallButtonRadius, double? smallButtonHeight, double? smallButtonFontSize, String configId = GLOBAL_CONFIG_ID})
遵循外部主题配置 默认为 SantoDefaultConfigUtils.defaultButtonConfig

Properties

commonConfig → SantoCommonConfig
no setterinherited
configId → String
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
largeButtonFontSize → double
no setter
largeButtonHeight → double
no setter
largeButtonRadius → double
no setter
middleButtonFontSize → double
no setter
middleButtonHeight → double
no setter
middleButtonRadius → double
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
smallButtonFontSize → double
no setter
smallButtonHeight → double
no setter
smallButtonRadius → double
no setter

Methods

copyWith({double? largeButtonRadius, double? largeButtonHeight, double? largeButtonFontSize, double? middleButtonRadius, double? middleButtonHeight, double? middleButtonFontSize, double? smallButtonRadius, double? smallButtonHeight, double? smallButtonFontSize}) → SantoButtonConfig
initThemeConfig(String configId, {SantoCommonConfig? currentLevelCommonConfig}) → void
部分代码示意如下:
override
initThemeConfigPersonal() → void
当自定义组件的配置时调用 根据自定义时传入的 configId 对配置字段打平
inherited
merge(SantoButtonConfig? other) → SantoButtonConfig
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