SheetStyle.tonal constructor

const SheetStyle.tonal({
  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. double? foregroundOpacity,
  16. int? foregroundAlpha,
  17. double? foregroundSpacing,
  18. bool? foregroundLoosen,
  19. bool? foregroundExpanded,
  20. CrossAxisAlignment? foregroundAlign,
  21. MainAxisAlignment? foregroundJustify,
  22. double? backgroundOpacity,
  23. int? backgroundAlpha,
  24. Color? borderColor,
  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 toned style.

Implementation

const SheetStyle.tonal({
  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.foregroundOpacity,
  this.foregroundAlpha,
  this.foregroundSpacing,
  this.foregroundLoosen,
  this.foregroundExpanded,
  this.foregroundAlign,
  this.foregroundJustify,
  this.backgroundOpacity,
  this.backgroundAlpha,
  this.borderColor,
  this.borderOpacity,
  this.borderAlpha,
  this.borderWidth,
  this.borderRadius,
  this.borderStyle,
  this.shape,
  this.iconColor,
  this.iconOpacity,
  this.iconSize,
})  : variant = SheetVariant.tonal,
      backgroundColor = color,
      foregroundColor = color;