search_to_back constant
AnimatedVectorData
const search_to_back
Implementation
static const AnimatedVectorData search_to_back = AnimatedVectorData(
viewportSize: Size(24, 24),
duration: Duration(milliseconds: 500),
root: RootVectorElement(
elements: [
PathElement(
pathData: PathData.parse(
'M 20.3 20.3 L 13.2 13.2 L 20.3 6.1',
),
strokeColor: Color(0xFF000000),
strokeWidth: 2.0,
trimEnd: 0.5,
properties: PathAnimationProperties(
pathData: [
AnimationStep<PathData>(
tween: ConstPathDataTween(
begin: PathData.parse(
'M 20.3 20.3 L 13.2 13.2 L 20.3 6.1',
),
end: PathData.parse(
'M 12.71 19.3 L 5.41 12 L 12.71 4.7',
),
),
interval: AnimationInterval(
end: Duration(milliseconds: 400),
),
curve: ShapeShifterCurves.fastOutSlowIn,
),
],
trimEnd: [
AnimationStep<double>(
tween: ConstTween<double>(
begin: 0.5,
end: 1.0,
),
interval: AnimationInterval(
end: Duration(milliseconds: 400),
),
curve: ShapeShifterCurves.fastOutSlowIn,
),
],
),
),
GroupElement(
elements: [
PathElement(
pathData: 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',
),
strokeColor: Color(0xFF000000),
strokeWidth: 2.0,
trimOffset: 0.875,
properties: PathAnimationProperties(
trimStart: [
AnimationStep<double>(
tween: ConstTween<double>(
begin: 0.0,
end: 0.5,
),
interval: AnimationInterval(
end: Duration(milliseconds: 300),
),
curve: ShapeShifterCurves.fastOutSlowIn,
),
],
trimEnd: [
AnimationStep<double>(
tween: ConstTween<double>(
begin: 1.0,
end: 0.5,
),
interval: AnimationInterval(
end: Duration(milliseconds: 300),
),
curve: ShapeShifterCurves.fastOutSlowIn,
),
],
),
),
],
properties: GroupAnimationProperties(
translateX: [
AnimationStep<double>(
tween: ConstTween<double>(
begin: 0.0,
end: -8.0,
),
interval: AnimationInterval(
end: Duration(milliseconds: 300),
),
curve: ShapeShifterCurves.fastOutSlowIn,
),
],
translateY: [
AnimationStep<double>(
tween: ConstTween<double>(
begin: 0.0,
end: -8.0,
),
interval: AnimationInterval(
end: Duration(milliseconds: 300),
),
curve: ShapeShifterCurves.fastOutSlowIn,
),
],
),
),
PathElement(
pathData: PathData.parse(
'M 6.5 12 L 20 12',
),
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: 250),
end: Duration(milliseconds: 500),
),
curve: ShapeShifterCurves.fastOutSlowIn,
),
],
),
),
],
),
);