AvatarStyle.from constructor
AvatarStyle.from(
- AvatarStyle? other
Create a avatar's style from another style
Implementation
AvatarStyle.from(AvatarStyle? other)
: size = other?.size,
shape = other?.shape,
margin = other?.margin,
clipBehavior = other?.clipBehavior,
shadowColor = other?.shadowColor,
elevation = other?.elevation,
foregroundStyle = other?.foregroundStyle,
foregroundColor = other?.foregroundColor,
foregroundOpacity = other?.foregroundOpacity,
foregroundAlpha = other?.foregroundAlpha,
foregroundSpacing = other?.foregroundSpacing,
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;