StarShapeBorder constructor
const
StarShapeBorder({
- int corners = 4,
- Dimension inset = const Length(50, unit: LengthUnit.percent),
- Dimension cornerRadius = const Length(0),
- Dimension insetRadius = const Length(0),
- CornerStyle cornerStyle = CornerStyle.rounded,
- CornerStyle insetStyle = CornerStyle.rounded,
- dynamic border = DynamicBorderSide.none,
Implementation
const StarShapeBorder({
this.corners = 4,
this.inset = const Length(50, unit: LengthUnit.percent),
this.cornerRadius = const Length(0),
this.insetRadius = const Length(0),
this.cornerStyle = CornerStyle.rounded,
this.insetStyle = CornerStyle.rounded,
border = DynamicBorderSide.none,
}) : assert(corners >= 3),
super(border: border);