presetPolygonShapeMap top-level constant

Map<String, MorphableShapeBorder> const presetPolygonShapeMap

Implementation

const Map<String, MorphableShapeBorder> presetPolygonShapeMap = {
  "Polygon3": const PolygonShapeBorder(sides: 3),
  "Polygon5": const PolygonShapeBorder(sides: 5),
  "Polygon6": const PolygonShapeBorder(sides: 6),
  "Polygon8": const PolygonShapeBorder(sides: 8),
  "Polygon12": const PolygonShapeBorder(sides: 12),
  "Polygon5Rounded": const PolygonShapeBorder(
      sides: 5, cornerRadius: Length(50, unit: LengthUnit.percent)),
  "Polygon6Rounded": const PolygonShapeBorder(
      sides: 6, cornerRadius: Length(50, unit: LengthUnit.percent)),
  "Polygon8Rounded": const PolygonShapeBorder(
      sides: 8, cornerRadius: Length(50, unit: LengthUnit.percent)),
  "Polygon6Straight": const PolygonShapeBorder(
      cornerStyle: CornerStyle.straight,
      sides: 6,
      cornerRadius: Length(50, unit: LengthUnit.percent)),
  "Polygon6Cutout": const PolygonShapeBorder(
      cornerStyle: CornerStyle.cutout,
      sides: 6,
      cornerRadius: Length(50, unit: LengthUnit.percent)),
  "Polygon6Concave": const PolygonShapeBorder(
      cornerStyle: CornerStyle.concave,
      sides: 6,
      cornerRadius: Length(50, unit: LengthUnit.percent)),
};