WxLinearBorderSide constructor

const WxLinearBorderSide({
  1. WxBorderStyle? style,
  2. Color? color,
  3. Gradient? gradient,
  4. double? width,
  5. double? offset,
  6. double? size,
  7. double? alignment,
})

Defines one side of a WxLinearBorder.

The values of size and alignment must be between 0.0 and 1.0, and -1.0 and 1.0 respectively.

Implementation

const WxLinearBorderSide({
  super.style,
  super.color,
  super.gradient,
  super.width,
  super.offset,
  this.size,
  this.alignment,
}) : assert(size == null || size >= 0.0 && size <= 1.0);