ActionSheetConfig constructor

ActionSheetConfig({
  1. BaseTextStyle? titleStyle,
  2. BaseTextStyle? itemTitleStyle,
  3. BaseTextStyle? itemTitleStyleLink,
  4. BaseTextStyle? itemTitleStyleAlert,
  5. BaseTextStyle? itemDescStyle,
  6. BaseTextStyle? itemDescStyleLink,
  7. BaseTextStyle? itemDescStyleAlert,
  8. BaseTextStyle? cancelStyle,
  9. double? topRadius,
  10. EdgeInsets? contentPadding,
  11. EdgeInsets? titlePadding,
  12. 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);