imageProvider property

ImageProvider<Object> get imageProvider

Implementation

ImageProvider get imageProvider {
  if (isNetworkUrl) {
    return NetworkImage(imageUrl!);
  }
  return FileImage(localFilePath!);
}