search_to_close constant
AnimatedVectorData
const search_to_close
Implementation
static const AnimatedVectorData search_to_close = AnimatedVectorData(
viewportSize: Size.square(24),
duration: Duration(milliseconds: 850),
root: RootVectorElement(
elements: [
GroupElement(
properties: GroupAnimationProperties(
translateX: [
AnimationStep(
tween: ConstTween<double>(begin: 0.0, end: -6.7),
interval: AnimationInterval(
start: Duration(milliseconds: 300),
end: Duration(milliseconds: 800),
),
curve: Curves.fastOutSlowIn,
),
],
translateY: [
AnimationStep(
tween: ConstTween<double>(begin: 0.0, end: -6.7),
interval: AnimationInterval(
start: Duration(milliseconds: 300),
end: Duration(milliseconds: 800),
),
curve: Curves.fastOutSlowIn,
),
],
),
elements: [
PathElement(
pathData: PathData.parse(
"M 13.389 13.389 C 15.537 11.241 15.537 7.759 13.389 5.611 C 11.241 3.463 7.759 3.463 5.611 5.611 C 3.463 7.759 3.463 11.241 5.611 13.389 C 7.759 15.537 11.241 15.537 13.389 13.389 Z",
),
strokeColor: Color(0xFF000000),
strokeWidth: 1.8,
properties: PathAnimationProperties(
trimStart: [
AnimationStep(
tween: ConstTween<double>(end: 1),
interval: AnimationInterval(
start: Duration(milliseconds: 134),
end: Duration(milliseconds: 550),
),
curve: Curves.decelerate,
),
],
),
),
],
),
PathElement(
pathData: PathData.parse("M 18 6 L 6 18"),
strokeColor: Color(0xFF000000),
strokeWidth: 1.8,
trimStart: 1.0,
properties: PathAnimationProperties(
trimStart: [
AnimationStep(
tween: ConstTween<double>(begin: 1.0, end: 0.0),
interval: AnimationInterval(
start: Duration(milliseconds: 522),
end: Duration(milliseconds: 836),
),
curve: Curves.fastOutSlowIn,
),
],
),
),
PathElement(
pathData: PathData.parse("M 6 6 L 20 20"),
strokeColor: Color(0xFF000000),
strokeWidth: 1.8,
trimStart: 0.48,
properties: PathAnimationProperties(
trimStart: [
AnimationStep(
tween: ConstTween<double>(begin: 0.48, end: 0.0),
interval: AnimationInterval(
start: Duration(milliseconds: 300),
end: Duration(milliseconds: 800),
),
curve: Curves.fastOutSlowIn,
),
],
trimEnd: [
AnimationStep(
tween: ConstTween<double>(begin: 1, end: 0.86),
interval: AnimationInterval(
start: Duration(milliseconds: 300),
end: Duration(milliseconds: 800),
),
curve: Curves.fastOutSlowIn,
),
],
),
),
],
),
);