DialogConfig constructor

DialogConfig({
  1. double? dialogWidth,
  2. double? radius,
  3. EdgeInsets? iconPadding,
  4. EdgeInsets? titlePaddingSm,
  5. EdgeInsets? titlePaddingLg,
  6. BaseTextStyle? titleTextStyle,
  7. TextAlign? titleTextAlign,
  8. EdgeInsets? contentPaddingSm,
  9. EdgeInsets? contentPaddingLg,
  10. BaseTextStyle? contentTextStyle,
  11. TextAlign? contentTextAlign,
  12. EdgeInsets? warningPaddingSm,
  13. EdgeInsets? warningPaddingLg,
  14. BaseTextStyle? warningTextStyle,
  15. TextAlign? warningTextAlign,
  16. EdgeInsets? dividerPadding,
  17. BaseTextStyle? mainActionTextStyle,
  18. BaseTextStyle? assistActionsTextStyle,
  19. Color? mainActionBackgroundColor,
  20. Color? assistActionsBackgroundColor,
  21. double? bottomHeight,
  22. Color? backgroundColor,
  23. String configId = GLOBAL_CONFIG_ID,
})

Implementation

DialogConfig({
  double? dialogWidth,
  double? radius,
  EdgeInsets? iconPadding,
  EdgeInsets? titlePaddingSm,
  EdgeInsets? titlePaddingLg,
  BaseTextStyle? titleTextStyle,
  TextAlign? titleTextAlign,
  EdgeInsets? contentPaddingSm,
  EdgeInsets? contentPaddingLg,
  BaseTextStyle? contentTextStyle,
  TextAlign? contentTextAlign,
  EdgeInsets? warningPaddingSm,
  EdgeInsets? warningPaddingLg,
  BaseTextStyle? warningTextStyle,
  TextAlign? warningTextAlign,
  EdgeInsets? dividerPadding,
  BaseTextStyle? mainActionTextStyle,
  BaseTextStyle? assistActionsTextStyle,
  Color? mainActionBackgroundColor,
  Color? assistActionsBackgroundColor,
  double? bottomHeight,
  Color? backgroundColor,
  String configId = GLOBAL_CONFIG_ID,
})  : _dialogWidth = dialogWidth,
      _radius = radius,
      _iconPadding = iconPadding,
      _titlePaddingSm = titlePaddingSm,
      _titlePaddingLg = titlePaddingLg,
      _titleTextStyle = titleTextStyle,
      _titleTextAlign = titleTextAlign,
      _contentPaddingSm = contentPaddingSm,
      _contentPaddingLg = contentPaddingLg,
      _contentTextStyle = contentTextStyle,
      _contentTextAlign = contentTextAlign,
      _warningPaddingSm = warningPaddingSm,
      _warningPaddingLg = warningPaddingLg,
      _warningTextStyle = warningTextStyle,
      _warningTextAlign = warningTextAlign,
      _dividerPadding = dividerPadding,
      _mainActionTextStyle = mainActionTextStyle,
      _assistActionsTextStyle = assistActionsTextStyle,
      _mainActionBackgroundColor = mainActionBackgroundColor,
      _assistActionsBackgroundColor = assistActionsBackgroundColor,
      _bottomHeight = bottomHeight,
      _backgroundColor = backgroundColor,
      super(configId: configId);