WxCircleBorder constructor
const
WxCircleBorder({
- WxBorderSide? side,
- Color? color,
- Gradient? gradient,
- double? offset,
- WxBorderStyle? style,
- double? width,
- 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.');