ChipStyle.from constructor

ChipStyle.from(
  1. ChipStyle? other
)

Create a chip's style from another style

Implementation

ChipStyle.from(ChipStyle? other)
    : checkmarkColor = other?.checkmarkColor,
      checkmarkSize = other?.checkmarkSize,
      checkmarkWeight = other?.checkmarkWeight,
      checkmarkStyle = other?.checkmarkStyle,
      avatarStyle = other?.avatarStyle,
      super(
        severity: other?.severity,
        variant: other?.variant,
        height: other?.height,
        margin: other?.margin,
        padding: other?.padding,
        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,
        iconColor: other?.iconColor,
        iconOpacity: other?.iconOpacity,
        iconSize: other?.iconSize,
      );