WxCircleBorder constructor

const WxCircleBorder({
  1. WxBorderSide? side,
  2. Color? color,
  3. Gradient? gradient,
  4. double? offset,
  5. WxBorderStyle? style,
  6. double? width,
  7. double eccentricity = 0.0,
})

Create a circle border.

The side argument must not be null.

Implementation

const WxCircleBorder({
  super.side,
  super.color,
  super.gradient,
  super.offset,
  super.style,
  super.width,
  this.eccentricity = 0.0,
})  : assert(eccentricity >= 0.0,
          'The eccentricity argument $eccentricity is not greater than or equal to zero.'),
      assert(eccentricity <= 1.0,
          'The eccentricity argument $eccentricity is not less than or equal to one.');