minus_to_plus constant

AnimatedVectorData const minus_to_plus

Animated vector for minus to plus.

Pairs with plus_to_minus.

Implementation

static const AnimatedVectorData minus_to_plus = AnimatedVectorData(
  viewportSize: Size.square(24),
  duration: Duration(milliseconds: 300),
  root: RootVectorElement(
    elements: [
      GroupElement(
        pivotX: 12,
        pivotY: 12,
        properties: GroupAnimationProperties(
          rotation: [
            AnimationStep(
              tween: ConstTween<double>(begin: -180),
              interval: AnimationInterval(
                end: Duration(milliseconds: 300),
              ),
              curve: Curves.fastOutSlowIn,
            ),
          ],
        ),
        elements: [
          PathElement(
            pathData: PathData.parse(
              "M 5,11 L 11,11 L 11,5 L 13,5 L 13,11 L 19,11 L 19,13 L 13,13 L 13,19 L 11,19 L 11,13 L 5,13 Z",
            ),
            fillColor: Color(0xFF000000),
            strokeCap: StrokeCap.square,
            properties: PathAnimationProperties(
              pathData: [
                AnimationStep(
                  tween: ConstPathDataTween(
                    end: PathData.parse(
                      "M 5,11 L 11,11 L 11,11 L 13,11 L 13,11 L 19,11 L 19,13 L 13,13 L 13,13 L 11,13 L 11,13 L 5,13 Z",
                    ),
                  ),
                  interval: AnimationInterval(
                    end: Duration(milliseconds: 250),
                  ),
                  curve: Curves.fastOutSlowIn,
                ),
              ],
            ),
          ),
        ],
      ),
    ],
  ),
);