NUIOutlineDecoration constructor
NUIOutlineDecoration({
- double thickness = 2,
- BorderRadius? borderRadius,
- NUILinearGradient? gradient,
- required Color outlineColor,
- Color shadowColor = NUIColors.NUIShadowBlack,
- double shadowRadius = 0,
- Color? innerColor,
Implementation
NUIOutlineDecoration({
this.thickness = 2,
this.borderRadius,
this.gradient,
required this.outlineColor,
this.shadowColor = NUIColors.NUIShadowBlack,
this.shadowRadius = 0,
this.innerColor
}): super(color: innerColor, border: Border.all(width: thickness, color: outlineColor), borderRadius: borderRadius, boxShadow:shadowRadius > 0 ? [BoxShadow(blurRadius: shadowRadius, color: shadowColor)] : null, gradient: gradient);