imageNetworkProvider static method

CachedNetworkImageProvider imageNetworkProvider({
  1. required String path,
})

Implementation

static CachedNetworkImageProvider imageNetworkProvider(
    {required String path}) {
  return CachedNetworkImageProvider(
    path,
    errorListener: (p0) => Container(
        color: context.placeholderColor,
        child: const Icon(Icons.error).center),
  );
}