RistoNoticeCard.warning constructor

RistoNoticeCard.warning({
  1. Key? key,
  2. String? title,
  3. String? subtitle,
  4. List<InlineSpan>? subtitleSpan,
  5. bool compact = false,
  6. bool showClose = false,
  7. VoidCallback? onClose,
  8. bool invert = false,
  9. RistoFooterBuilder? footerBuilder,
  10. AlignmentGeometry? footerAlignment,
  11. EdgeInsetsGeometry? footerPadding,
  12. Widget? noticeIcon,
  13. EdgeInsetsGeometry? iconPadding,
  14. Color? backgroundColor,
  15. Gradient? backgroundGradient,
  16. Color? borderColor,
  17. double borderWidth = 1.0,
  18. double borderOpacity = 0.5,
  19. BorderRadiusGeometry? borderRadius,
  20. EdgeInsetsGeometry? padding,
  21. EdgeInsetsGeometry? margin,
  22. double? elevation,
  23. Color? shadowColor,
  24. double? width,
  25. double? minWidth,
  26. double? maxWidth,
  27. double? height,
  28. double? minHeight,
  29. double? maxHeight,
  30. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  31. TextStyle? titleStyle,
  32. TextStyle? subtitleStyle,
  33. double? runSpacing,
})

Implementation

factory RistoNoticeCard.warning({
  Key? key,
  String? title,
  String? subtitle,
  List<InlineSpan>? subtitleSpan,
  bool compact = false,
  bool showClose = false,
  VoidCallback? onClose,
  bool invert = false,
  RistoFooterBuilder? footerBuilder,
  AlignmentGeometry? footerAlignment,
  EdgeInsetsGeometry? footerPadding,
  Widget? noticeIcon,
  EdgeInsetsGeometry? iconPadding,
  Color? backgroundColor,
  Gradient? backgroundGradient,
  Color? borderColor,
  double borderWidth = 1.0,
  double borderOpacity = 0.5,
  BorderRadiusGeometry? borderRadius,
  EdgeInsetsGeometry? padding,
  EdgeInsetsGeometry? margin,
  double? elevation,
  Color? shadowColor,
  double? width,
  double? minWidth,
  double? maxWidth,
  double? height,
  double? minHeight,
  double? maxHeight,
  CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  TextStyle? titleStyle,
  TextStyle? subtitleStyle,
  double? runSpacing,
}) {
  return RistoNoticeCard(
    key: key,
    kind: RistoNoticeKind.warning,
    title: title,
    subtitle: subtitle,
    subtitleSpan: subtitleSpan,
    compact: compact,
    showClose: showClose,
    onClose: onClose,
    invert: invert,
    footerBuilder: footerBuilder,
    footerAlignment: footerAlignment,
    footerPadding: footerPadding,
    noticeIcon: noticeIcon,
    iconPadding: iconPadding,
    backgroundColor: backgroundColor,
    backgroundGradient: backgroundGradient,
    borderColor: borderColor,
    borderWidth: borderWidth,
    borderOpacity: borderOpacity,
    borderRadius: borderRadius,
    padding: padding,
    margin: margin,
    elevation: elevation,
    shadowColor: shadowColor,
    width: width,
    minWidth: minWidth,
    maxWidth: maxWidth,
    height: height,
    minHeight: minHeight,
    maxHeight: maxHeight,
    crossAxisAlignment: crossAxisAlignment,
    titleStyle: titleStyle,
    subtitleStyle: subtitleStyle,
    runSpacing: runSpacing,
  );
}