presetStarShapeMap top-level constant

Map<String, MorphableShapeBorder> const presetStarShapeMap

Implementation

const Map<String, MorphableShapeBorder> presetStarShapeMap = {
  "Star4": const StarShapeBorder(corners: 4),
  "Star5": const StarShapeBorder(corners: 5),
  "Star6": const StarShapeBorder(corners: 6),
  "Star8": const StarShapeBorder(corners: 8),
  "Star12": const StarShapeBorder(corners: 12),
  "Star4Rounded": const StarShapeBorder(
      corners: 4,
      cornerRadius: Length(50, unit: LengthUnit.percent),
      insetRadius: Length(50, unit: LengthUnit.percent)),
  "Star6Rounded": const StarShapeBorder(
      corners: 6,
      cornerRadius: Length(30, unit: LengthUnit.percent),
      insetRadius: Length(30, unit: LengthUnit.percent)),
  "Star8Rounded": const StarShapeBorder(
      corners: 8,
      cornerRadius: Length(10, unit: LengthUnit.percent),
      insetRadius: Length(10, unit: LengthUnit.percent)),
};