NeonPainter constructor
NeonPainter({})
Implementation
NeonPainter({
required Color color,
double? opacity,
EdgeInsets? padding,
bool? disableEmphasis,
double? emphasisWidth,
double? emphasisOpacity,
double? emphasisAngleDegree,
bool? enableLineZiggle,
double? lineZiggleLevel,
bool? isDoubleLayer,
}) : this.opacity = opacity ?? 0.5,
this.color = color,
this.padding = padding ?? EdgeInsets.symmetric(horizontal: 5),
this.disableEmphasis = disableEmphasis ?? false,
this.emphasisWidth = emphasisWidth ?? 5.0,
this.emphasisOpacity = emphasisOpacity ?? (opacity ?? 0.5 + 0.05),
this.emphasisAngleDegree = emphasisAngleDegree ?? 1,
this.enableLineZiggle = enableLineZiggle ?? false,
this.lineZiggleLevel = lineZiggleLevel ?? 1,
this.isDoubleLayer = isDoubleLayer ?? false;