cross_to_tick constant

AnimatedVectorData const cross_to_tick

Animated vector for cross to tick.

Implementation

static const AnimatedVectorData cross_to_tick = 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("M6.4,6.4 L17.6,17.6 M6.4,17.6 L17.6,6.4"),
            strokeColor: Color(0xFF000000),
            strokeWidth: 2,
            strokeCap: StrokeCap.square,
            properties: PathAnimationProperties(
              pathData: [
                AnimationStep(
                  tween: ConstPathDataTween(
                    end: PathData.parse(
                      "M4.8,13.4 L9,17.6 M10.4,16.2 L19.6,7",
                    ),
                  ),
                  interval: AnimationInterval(
                    end: Duration(milliseconds: 300),
                  ),
                  curve: Curves.fastOutSlowIn,
                ),
              ],
            ),
          ),
        ],
      ),
    ],
  ),
);