NUIOutlineDecoration constructor

NUIOutlineDecoration({
  1. double thickness = 2,
  2. BorderRadius? borderRadius,
  3. NUILinearGradient? gradient,
  4. required Color outlineColor,
  5. Color shadowColor = NUIColors.NUIShadowBlack,
  6. double shadowRadius = 0,
  7. 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);