play_to_pause constant

AnimatedVectorData const play_to_pause

Animated vector for play to pause.

Pairs with pause_to_play.

Implementation

static const AnimatedVectorData play_to_pause = AnimatedVectorData(
  viewportSize: Size.square(24),
  duration: Duration(milliseconds: 300),
  root: RootVectorElement(
    elements: [
      GroupElement(
        pivotX: 12,
        pivotY: 12,
        properties: GroupAnimationProperties(
          rotation: [
            AnimationStep(
              tween: ConstTween<double>(end: 90.0),
              interval: AnimationInterval(
                end: Duration(milliseconds: 300),
              ),
              curve: Curves.fastOutSlowIn,
            ),
          ],
        ),
        elements: [
          PathElement(
            pathData: PathData.parse(
              "M 8 5 L 8 12 L 19 12 L 19 12 L 8 5 M 8 12 L 8 19 L 19 12 L 19 12 L 8 12",
            ),
            fillColor: Color(0xFF000000),
            properties: PathAnimationProperties(
              pathData: [
                AnimationStep(
                  tween: ConstPathDataTween(
                    end: PathData.parse(
                      "M 5 6 L 5 10 L 19 10 L 19 6 L 5 6 M 5 14 L 5 18 L 19 18 L 19 14 L 5 14",
                    ),
                  ),
                  interval: AnimationInterval(
                    end: Duration(milliseconds: 300),
                  ),
                  curve: Curves.fastOutSlowIn,
                ),
              ],
            ),
          ),
        ],
      ),
    ],
  ),
);