more_to_search constant

AnimatedVectorData const more_to_search

Animated vector for more to search.

Pairs with search_to_more.

Implementation

static const AnimatedVectorData more_to_search = AnimatedVectorData(
  viewportSize: Size(24, 24),
  duration: Duration(milliseconds: 500),
  root: RootVectorElement(
    elements: [
      GroupElement(
        pivotX: 12.0,
        pivotY: 12.0,
        rotation: -180.0,
        elements: [
          GroupElement(
            translateX: 12.0,
            translateY: 6.0,
            elements: [
              PathElement(
                pathData: PathData.parse(
                  'M 0 0 L 0 0',
                ),
                strokeColor: Color(0xFF000000),
                strokeWidth: 4.0,
                strokeCap: StrokeCap.round,
                properties: PathAnimationProperties(
                  strokeAlpha: [
                    AnimationStep<double>(
                      tween: ConstTween<double>(
                        begin: 1.0,
                        end: 0.0,
                      ),
                      interval: AnimationInterval(
                        end: Duration(milliseconds: 300),
                      ),
                      curve: ShapeShifterCurves.fastOutSlowIn,
                    ),
                  ],
                  strokeWidth: [
                    AnimationStep<double>(
                      tween: ConstTween<double>(
                        begin: 4.0,
                        end: 2.0,
                      ),
                      interval: AnimationInterval(
                        end: Duration(milliseconds: 300),
                      ),
                      curve: ShapeShifterCurves.fastOutSlowIn,
                    ),
                  ],
                ),
              ),
            ],
            properties: GroupAnimationProperties(
              translateY: [
                AnimationStep<double>(
                  tween: ConstTween<double>(
                    begin: 6.0,
                    end: 12.0,
                  ),
                  interval: AnimationInterval(
                    end: Duration(milliseconds: 300),
                  ),
                  curve: ShapeShifterCurves.fastOutSlowIn,
                ),
              ],
            ),
          ),
          GroupElement(
            translateX: 12.0,
            translateY: 18.0,
            elements: [
              PathElement(
                pathData: PathData.parse(
                  'M 0 0 L 0 0',
                ),
                strokeColor: Color(0xFF000000),
                strokeWidth: 4.0,
                strokeCap: StrokeCap.round,
                properties: PathAnimationProperties(
                  strokeAlpha: [
                    AnimationStep<double>(
                      tween: ConstTween<double>(
                        begin: 1.0,
                        end: 0.0,
                      ),
                      interval: AnimationInterval(
                        end: Duration(milliseconds: 300),
                      ),
                      curve: ShapeShifterCurves.fastOutSlowIn,
                    ),
                  ],
                  strokeWidth: [
                    AnimationStep<double>(
                      tween: ConstTween<double>(
                        begin: 4.0,
                        end: 2.0,
                      ),
                      interval: AnimationInterval(
                        end: Duration(milliseconds: 300),
                      ),
                      curve: ShapeShifterCurves.fastOutSlowIn,
                    ),
                  ],
                ),
              ),
            ],
            properties: GroupAnimationProperties(
              translateY: [
                AnimationStep<double>(
                  tween: ConstTween<double>(
                    begin: 18.0,
                    end: 12.0,
                  ),
                  interval: AnimationInterval(
                    end: Duration(milliseconds: 300),
                  ),
                  curve: ShapeShifterCurves.fastOutSlowIn,
                ),
              ],
            ),
          ),
          PathElement(
            pathData: PathData.parse(
              'M 12 11 C 12.55 11 13 11.45 13 12 C 13 12.55 12.55 13 12 13 C 11.45 13 11 12.55 11 12 C 11 11.45 11.45 11 12 11 Z',
            ),
            strokeColor: Color(0xFF000000),
            strokeWidth: 2.0,
            properties: PathAnimationProperties(
              pathData: [
                AnimationStep<PathData>(
                  tween: ConstPathDataTween(
                    begin: PathData.parse(
                      'M 12 11 C 12.55 11 13 11.45 13 12 C 13 12.55 12.55 13 12 13 C 11.45 13 11 12.55 11 12 C 11 11.45 11.45 11 12 11 Z',
                    ),
                    end: PathData.parse(
                      'M 9.5 4 C 12.54 4 15 6.46 15 9.5 C 15 12.54 12.54 15 9.5 15 C 6.46 15 4 12.54 4 9.5 C 4 6.46 6.46 4 9.5 4 Z',
                    ),
                  ),
                  interval: AnimationInterval(
                    start: Duration(milliseconds: 150),
                    end: Duration(milliseconds: 500),
                  ),
                  curve: ShapeShifterCurves.fastOutSlowIn,
                ),
              ],
            ),
          ),
          PathElement(
            pathData: PathData.parse(
              'M 13.2 13.2 L 20.3 20.3',
            ),
            strokeColor: Color(0xFF000000),
            strokeWidth: 2.0,
            trimEnd: 0.0,
            properties: PathAnimationProperties(
              trimEnd: [
                AnimationStep<double>(
                  tween: ConstTween<double>(
                    begin: 0.0,
                    end: 1.0,
                  ),
                  interval: AnimationInterval(
                    start: Duration(milliseconds: 300),
                    end: Duration(milliseconds: 500),
                  ),
                  curve: ShapeShifterCurves.fastOutSlowIn,
                ),
              ],
            ),
          ),
        ],
        properties: GroupAnimationProperties(
          rotation: [
            AnimationStep<double>(
              tween: ConstTween<double>(
                begin: -180.0,
                end: 0.0,
              ),
              interval: AnimationInterval(
                end: Duration(milliseconds: 400),
              ),
              curve: ShapeShifterCurves.fastOutSlowIn,
            ),
          ],
        ),
      ),
    ],
  ),
);