TxBorderSide constructor

const TxBorderSide({
  1. Color? color,
  2. double? width,
  3. BorderStyle? style,
  4. LinearGradient? gradient,
  5. List<double>? dashPattern,
  6. 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,
      );