visibility_toggle constant

AnimatedVectorData const visibility_toggle

Animated vector for visibility toggle.

Implementation

static const AnimatedVectorData visibility_toggle = AnimatedVectorData(
  viewportSize: Size.square(24),
  duration: Duration(milliseconds: 320),
  root: RootVectorElement(
    elements: [
      PathElement(
        pathData: PathData.parse("M 2 4.27 L 3.27 3 L 3.27 3 L 2 4.27 Z"),
        fillColor: Color(0xFF000000),
        properties: PathAnimationProperties(
          pathData: [
            AnimationStep(
              tween: ConstPathDataTween(
                end: PathData.parse(
                  "M 19.73 22 L 21 20.73 L 3.27 3 L 2 4.27 Z",
                ),
              ),
              interval: AnimationInterval(
                end: Duration(milliseconds: 320),
              ),
              curve: Curves.fastOutSlowIn,
            ),
          ],
        ),
      ),
      ClipPathElement(
        pathData: PathData.parse(
          "M 0 0 L 24 0 L 24 24 L 0 24 L 0 0 Z M 4.54 1.73 L 3.27 3 L 3.27 3 L 4.54 1.73 Z",
        ),
        properties: ClipPathAnimationProperties(
          pathData: [
            AnimationStep(
              tween: ConstPathDataTween(
                end: PathData.parse(
                  "M 0 0 L 24 0 L 24 24 L 0 24 L 0 0 Z M 4.54 1.73 L 3.27 3 L 21 20.73 L 22.27 19.46 Z",
                ),
              ),
              interval: AnimationInterval(
                end: Duration(milliseconds: 320),
              ),
              curve: Curves.fastOutSlowIn,
            ),
          ],
        ),
      ),
      PathElement(
        pathData: PathData.parse(
          "M 12 4.5 C 7 4.5 2.73 7.61 1 12 C 2.73 16.39 7 19.5 12 19.5 C 17 19.5 21.27 16.39 23 12 C 21.27 7.61 17 4.5 12 4.5 L 12 4.5 Z M 12 17 C 9.24 17 7 14.76 7 12 C 7 9.24 9.24 7 12 7 C 14.76 7 17 9.24 17 12 C 17 14.76 14.76 17 12 17 L 12 17 Z M 12 9 C 10.34 9 9 10.34 9 12 C 9 13.66 10.34 15 12 15 C 13.66 15 15 13.66 15 12 C 15 10.34 13.66 9 12 9 L 12 9 Z",
        ),
        fillColor: Color(0xFF000000),
      ),
    ],
  ),
);