presetPolygonShapeMap top-level constant

Map<String, MorphableShapeBorder> const presetPolygonShapeMap

Implementation

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