presetTriangleShapeMap top-level constant

Map<String, MorphableShapeBorder> const presetTriangleShapeMap

Implementation

const Map<String, MorphableShapeBorder> presetTriangleShapeMap = {
  "Triangle": const TriangleShapeBorder(),
  "TriangleBottom": const TriangleShapeBorder(
      point1: const DynamicOffset(const Length(50, unit: LengthUnit.percent),
          const Length(0, unit: LengthUnit.percent)),
      point2: const DynamicOffset(const Length(100, unit: LengthUnit.percent),
          const Length(100, unit: LengthUnit.percent)),
      point3: const DynamicOffset(const Length(0, unit: LengthUnit.percent),
          const Length(100, unit: LengthUnit.percent))),
  "TriangleLeft": const TriangleShapeBorder(
      point1: const DynamicOffset(const Length(0, unit: LengthUnit.percent),
          const Length(0, unit: LengthUnit.percent)),
      point2: const DynamicOffset(const Length(100, unit: LengthUnit.percent),
          const Length(0, unit: LengthUnit.percent)),
      point3: const DynamicOffset(const Length(0, unit: LengthUnit.percent),
          const Length(100, unit: LengthUnit.percent))),
  "TriangleRight": const TriangleShapeBorder(
      point1: const DynamicOffset(const Length(0, unit: LengthUnit.percent),
          const Length(0, unit: LengthUnit.percent)),
      point2: const DynamicOffset(const Length(100, unit: LengthUnit.percent),
          const Length(0, unit: LengthUnit.percent)),
      point3: const DynamicOffset(const Length(100, unit: LengthUnit.percent),
          const Length(100, unit: LengthUnit.percent))),
};