back_to_search constant
AnimatedVectorData
const back_to_search
Implementation
static const AnimatedVectorData back_to_search = AnimatedVectorData(
viewportSize: Size(24, 24),
duration: Duration(milliseconds: 500),
root: RootVectorElement(
elements: [
PathElement(
pathData: PathData.parse(
'M 12.71 4.7 C 12.71 4.7 20.01 12 20.01 12 C 20.01 12 12.71 19.3 12.71 19.3 C 12.71 19.3 5.41 12 5.41 12 C 5.41 12 12.71 4.7 12.71 4.7 Z',
),
strokeColor: Color(0xFF000000),
strokeWidth: 2.0,
trimStart: 0.5,
properties: PathAnimationProperties(
pathData: [
AnimationStep<PathData>(
tween: ConstPathDataTween(
begin: PathData.parse(
'M 12.71 4.7 C 12.71 4.7 20.01 12 20.01 12 C 20.01 12 12.71 19.3 12.71 19.3 C 12.71 19.3 5.41 12 5.41 12 C 5.41 12 12.71 4.7 12.71 4.7 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(
end: Duration(milliseconds: 500),
),
curve: ShapeShifterCurves.fastOutSlowIn,
),
],
trimStart: [
AnimationStep<double>(
tween: ConstTween<double>(
begin: 0.5,
end: 0.0,
),
interval: AnimationInterval(
end: Duration(milliseconds: 500),
),
curve: ShapeShifterCurves.fastOutSlowIn,
),
],
trimOffset: [
AnimationStep<double>(
tween: ConstTween<double>(
begin: 0.0,
end: 0.75,
),
interval: AnimationInterval(
end: Duration(milliseconds: 500),
),
curve: ShapeShifterCurves.fastOutSlowIn,
),
],
),
),
PathElement(
pathData: PathData.parse(
'M 6.5 12 L 20 12',
),
strokeColor: Color(0xFF000000),
strokeWidth: 2.0,
properties: PathAnimationProperties(
trimStart: [
AnimationStep<double>(
tween: ConstTween<double>(
begin: 0.0,
end: 1.0,
),
interval: AnimationInterval(
end: Duration(milliseconds: 200),
),
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: 250),
end: Duration(milliseconds: 500),
),
curve: ShapeShifterCurves.fastOutSlowIn,
),
],
),
),
],
),
);