SheetStyle.filled constructor

const SheetStyle.filled({
  1. Color? color,
  2. SheetSeverity? severity,
  3. double? width,
  4. double? height,
  5. EdgeInsetsGeometry? margin,
  6. EdgeInsetsGeometry? padding,
  7. Alignment? alignment,
  8. Clip? clipBehavior,
  9. bool? overlayDisabled,
  10. Color? overlayColor,
  11. Color? shadowColor,
  12. Color? surfaceTint,
  13. double? elevation,
  14. TextStyle? foregroundStyle,
  15. Color? foregroundColor,
  16. double? foregroundOpacity,
  17. int? foregroundAlpha,
  18. double? foregroundSpacing,
  19. bool? foregroundLoosen,
  20. bool? foregroundExpanded,
  21. CrossAxisAlignment? foregroundAlign,
  22. MainAxisAlignment? foregroundJustify,
  23. double? backgroundOpacity,
  24. int? backgroundAlpha,
  25. double? borderOpacity,
  26. int? borderAlpha,
  27. double? borderWidth,
  28. BorderRadius? borderRadius,
  29. BorderStyle? borderStyle,
  30. BoxShape? shape,
  31. Color? iconColor,
  32. double? iconOpacity,
  33. double? iconSize,
})

Create SheetStyle with default value for filled style.

Implementation

const SheetStyle.filled({
  Color? color,
  this.severity,
  this.width,
  this.height,
  this.margin,
  this.padding,
  this.alignment,
  this.clipBehavior,
  this.overlayDisabled,
  this.overlayColor,
  this.shadowColor,
  this.surfaceTint,
  this.elevation,
  this.foregroundStyle,
  this.foregroundColor,
  this.foregroundOpacity,
  this.foregroundAlpha,
  this.foregroundSpacing,
  this.foregroundLoosen,
  this.foregroundExpanded,
  this.foregroundAlign,
  this.foregroundJustify,
  this.backgroundOpacity,
  this.backgroundAlpha,
  this.borderOpacity,
  this.borderAlpha,
  this.borderWidth,
  this.borderRadius,
  this.borderStyle,
  this.shape,
  this.iconColor,
  this.iconOpacity,
  this.iconSize,
})  : backgroundColor = color,
      borderColor = color,
      variant = SheetVariant.filled;