ShapeBorder.star constructor Null safety

  1. @Implements<OutlinedBorder>()
const ShapeBorder.star(
  1. {@Default(BorderSide.none) BorderSide side,
  2. @Default(5) double points,
  3. @Default(0.4) double innerRadiusRatio,
  4. @Default(0) double pointRounding,
  5. @Default(0) double valleyRounding,
  6. @Default(0) double rotation,
  7. @Default(0) double squash}
)

Implementation

@Implements<OutlinedBorder>()
const factory ShapeBorder.star({
  @Default(BorderSide.none) BorderSide side,
  @Default(5) double points,
  @Default(0.4) double innerRadiusRatio,
  @Default(0) double pointRounding,
  @Default(0) double valleyRounding,
  @Default(0) double rotation,
  @Default(0) double squash,
}) = StarBorder;