close_to_search constant
AnimatedVectorData
const close_to_search
Implementation
static const AnimatedVectorData close_to_search = AnimatedVectorData(
viewportSize: Size.square(24),
duration: Duration(milliseconds: 850),
root: RootVectorElement(
elements: [
GroupElement(
properties: GroupAnimationProperties(
translateX: [
AnimationStep(
tween: ConstTween<double>(begin: -6.7, end: 0.0),
interval: AnimationInterval(
start: Duration(milliseconds: 300),
end: Duration(milliseconds: 800),
),
curve: Curves.fastOutSlowIn,
),
],
translateY: [
AnimationStep(
tween: ConstTween<double>(begin: -6.7, end: 0.0),
interval: AnimationInterval(
start: Duration(milliseconds: 300),
end: Duration(milliseconds: 800),
),
curve: Curves.fastOutSlowIn,
),
],
),
translateX: -6.7,
translateY: -6.7,
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,
trimEnd: 0.0,
properties: PathAnimationProperties(
trimEnd: [
AnimationStep(
tween: ConstTween<double>(begin: 0, end: 1),
interval: AnimationInterval(
start: Duration(milliseconds: 300),
end: Duration(milliseconds: 716),
),
curve: Curves.decelerate,
),
],
),
),
],
),
PathElement(
pathData: PathData.parse("M 18 6 L 6 18"),
strokeColor: Color(0xFF000000),
strokeWidth: 1.8,
properties: PathAnimationProperties(
trimEnd: [
AnimationStep(
tween: ConstTween<double>(begin: 1.0, end: 0.0),
interval: AnimationInterval(
start: Duration(milliseconds: 134),
end: Duration(milliseconds: 448),
),
curve: Curves.fastOutSlowIn,
),
],
),
),
PathElement(
pathData: PathData.parse("M 6 6 L 20 20"),
strokeColor: Color(0xFF000000),
strokeWidth: 1.8,
trimEnd: 0.86,
properties: PathAnimationProperties(
trimStart: [
AnimationStep(
tween: ConstTween<double>(begin: 0.0, end: 0.48),
interval: AnimationInterval(
start: Duration(milliseconds: 300),
end: Duration(milliseconds: 800),
),
curve: Curves.fastOutSlowIn,
),
],
trimEnd: [
AnimationStep(
tween: ConstTween<double>(begin: 0.86, end: 1.0),
interval: AnimationInterval(
start: Duration(milliseconds: 300),
end: Duration(milliseconds: 800),
),
curve: Curves.fastOutSlowIn,
),
],
),
),
],
),
);