StarGlyph constructor

const StarGlyph({
  1. Key? key,
  2. required double x,
  3. required double y,
  4. double size = 8,
  5. Color color = const Color(0xFF000000),
  6. Color? strokeColor,
  7. double strokeWidth = 1.0,
  8. double rotation = 0,
  9. double opacity = 1.0,
  10. int points = 5,
  11. double innerRadiusFactor = 0.5,
})

Creates a star glyph.

Implementation

const StarGlyph({
  super.key,
  required super.x,
  required super.y,
  super.size = 8,
  super.color,
  super.strokeColor,
  super.strokeWidth,
  super.rotation,
  super.opacity,
  this.points = 5,
  this.innerRadiusFactor = 0.5,
});