ActionSheetConfig class
BrnActionSheet 主题配置
- Inheritance
-
- Object
- BaseConfig
- ActionSheetConfig
Constructors
- ActionSheetConfig({BaseTextStyle? titleStyle, BaseTextStyle? itemTitleStyle, BaseTextStyle? itemTitleStyleLink, BaseTextStyle? itemTitleStyleAlert, BaseTextStyle? itemDescStyle, BaseTextStyle? itemDescStyleLink, BaseTextStyle? itemDescStyleAlert, BaseTextStyle? cancelStyle, double? topRadius, EdgeInsets? contentPadding, EdgeInsets? titlePadding, String configId = GLOBAL_CONFIG_ID})
- 遵循外部主题配置 默认为 BaseActionSheetConfigUtils.defaultActionSheetConfig
Properties
- cancelStyle → BaseTextStyle
-
no setter
- commonConfig → BaseCommonConfig
-
no setterinherited
- configId → String
-
no setterinherited
- contentPadding → EdgeInsets
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemDescStyle → BaseTextStyle
-
no setter
- itemDescStyleAlert → BaseTextStyle
-
no setter
- itemDescStyleLink → BaseTextStyle
-
no setter
- itemTitleStyle → BaseTextStyle
-
no setter
- itemTitleStyleAlert → BaseTextStyle
-
no setter
- itemTitleStyleLink → BaseTextStyle
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titlePadding → EdgeInsets
-
no setter
- titleStyle → BaseTextStyle
-
no setter
- topRadius → double
-
no setter
Methods
-
copyWith(
{double? topRadius, BaseTextStyle? titleStyle, BaseTextStyle? itemTitleStyle, BaseTextStyle? itemTitleStyleLink, BaseTextStyle? itemTitleStyleAlert, BaseTextStyle? itemDescStyle, BaseTextStyle? itemDescStyleLink, BaseTextStyle? itemDescStyleAlert, BaseTextStyle? cancelStyle, EdgeInsets? contentPadding, EdgeInsets? titlePadding}) → ActionSheetConfig -
initThemeConfig(
String configId, {BaseCommonConfig? currentLevelCommonConfig}) → void -
部分代码示意如下:
override
-
initThemeConfigPersonal(
) → void -
当自定义组件的配置时调用
根据自定义时传入的
configId
对配置字段打平inherited -
merge(
ActionSheetConfig? other) → ActionSheetConfig -
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