arrow_to_drawer constant

AnimatedVectorData const arrow_to_drawer

Animated vector for arrow to drawer.

Pairs with drawer_to_arrow.

Implementation

static const AnimatedVectorData arrow_to_drawer = 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.0, end: 0),
              interval: AnimationInterval(
                end: Duration(milliseconds: 300),
              ),
              curve: Curves.fastOutSlowIn,
            ),
          ],
        ),
        elements: [
          PathElement(
            pathData: PathData.parse(
              "M 12, 4 L 10.59,5.41 L 16.17,11 L 18.99,11 L 12,4 z M 4, 11 L 4, 13 L 18.99, 13 L 20, 12 L 18.99, 11 L 4, 11 z M 12,20 L 10.59, 18.59 L 16.17, 13 L 18.99, 13 L 12, 20z",
            ),
            fillColor: Color(0xFF000000),
            properties: PathAnimationProperties(
              pathData: [
                AnimationStep(
                  tween: ConstPathDataTween(
                    end: PathData.parse(
                      "M 3,6 L 3,8 L 21,8 L 21,6 L 3,6 z M 3,11 L 3,13 L 21,13 L 21, 12 L 21,11 L 3,11 z M 3,18 L 3,16 L 21,16 L 21,18 L 3,18 z",
                    ),
                  ),
                  interval: AnimationInterval(
                    end: Duration(milliseconds: 300),
                  ),
                  curve: Curves.fastOutSlowIn,
                ),
              ],
            ),
          ),
        ],
      ),
    ],
  ),
);