ActionSheetConfig constructor
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
Implementation
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,
}) : _titleStyle = titleStyle,
_itemTitleStyle = itemTitleStyle,
_itemTitleStyleLink = itemTitleStyleLink,
_itemTitleStyleAlert = itemTitleStyleAlert,
_itemDescStyle = itemDescStyle,
_itemDescStyleLink = itemDescStyleLink,
_itemDescStyleAlert = itemDescStyleAlert,
_cancelStyle = cancelStyle,
_topRadius = topRadius,
_contentPadding = contentPadding,
_titlePadding = titlePadding,
super(configId: configId);