TxBorderSide constructor
const
TxBorderSide({
- Color? color,
- double? width,
- BorderStyle? style,
- LinearGradient? gradient,
- List<
double> ? dashPattern, - double strokeAlign = BorderSide.strokeAlignInside,
Implementation
const TxBorderSide({
Color? color,
double? width,
BorderStyle? style,
this.gradient,
this.dashPattern,
super.strokeAlign = BorderSide.strokeAlignInside,
}) : assert(width == null || width >= 0.0),
super(
width: width ?? 1.0,
color: color ?? const Color(0xFF000000),
style: style ?? BorderStyle.solid,
);