StarShapeBorder constructor

const StarShapeBorder({
  1. int corners = 4,
  2. Dimension inset = const Length(50, unit: LengthUnit.percent),
  3. Dimension cornerRadius = const Length(0),
  4. Dimension insetRadius = const Length(0),
  5. CornerStyle cornerStyle = CornerStyle.rounded,
  6. CornerStyle insetStyle = CornerStyle.rounded,
  7. 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);