emptySearch static method

Widget emptySearch({
  1. double? width,
  2. double? height,
  3. Color? color,
})

Implementation

static Widget emptySearch({double? width, double? height, Color? color}) {
  return SvgPicture.asset(
    "${path}empty-search-bg.svg",
    width: width ?? 110,
    height: height ?? 110,
    colorFilter:
        color != null ? ColorFilter.mode(color, BlendMode.srcIn) : null,
  );
}