SheetStyle.from constructor

SheetStyle.from(
  1. SheetStyle? other
)

Create a SheetStyle from another style

Implementation

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