network_to_file_image 6.0.1 copy "network_to_file_image: ^6.0.1" to clipboard
network_to_file_image: ^6.0.1 copied to clipboard

Opens a local image file, if it exists there. If it doesn't, fetches the image from the network and then saves to the local file for next time.

[6.0.1] - 2022/11/24 #

  • Breaking change: Loading errors are now NetworkToFileImageLoadException instead of NetworkImageLoadException. This change is unlikely to affect you.

  • Better error handling when both the url and the file are null, or when the file doesn't exist locally, but the url was not provided.

[5.0.2] - 2022/11/16 #

  • Flutter 3.16.0 compatible.

[4.0.1] - 2022/5/13 #

  • Flutter 3.0.0 compatible.

[3.1.0] - 2021/12/29 #

  • Now ImageForCanvas.imageProviderSupplier may return a null ImageProvider.

[3.0.3] - 2021/09/27 #

[3.0.2] - 2021/09/11 #

  • Compatible with Flutter 2.5.

[3.0.0] - 2021/03/05 #

  • Docs improvement.

[2.3.8] - 2021/01/07 #

  • Docs improvement.

[2.3.6] - 2020/10/02 #

  • Improving compatibility with Flutter 1.22.

[2.3.3] - 2020/09/14 #

  • Docs improvement.

[2.3.2] - 2020/08/11 #

  • Upgrade: Flutter 1.20.
  • Example: main_image_for_canvas.dart

[2.3.1] - 2020/05/19 #

  • Docs improvement.

[2.3.0] - 2020/05/06 #

  • Upgrade: Flutter 1.17.

[2.2.8] - 2020/02/26 #

  • Docs improvement.
  • Better example (appDocsDir is read only once, during app initialization).

[2.2.4] - 2019/12/21 #

  • Http override (mock urls visible to the whole app).

[2.2.1] - 2019/12/11 #

[2.1.5] - 2019/10/31 #

  • ImageForCanvas.

[2.0.7] - 2019/09/12 #

  • ErrorDescription.

[2.0.6] - 2019/08/13 #

  • Docs improvement.

[2.0.2] - 2019/06/24 #

  • Commented out the informationCollector, until version 1.7.8.

[2.0.0] - 2019/06/24 #

  • Reverted back to stable Flutter version 1.5.X.

[1.7.8] - 2019/06/24 #

  • Fixed for versions 1.7.8 and up.

[1.0.4] - 2019/02/22 #

  • This version works for the stable Flutter version 1.5.X.

[1.0.3] - 2019/01/16 #

  • Allow mock urls.

[1.0.2] - 2019/01/04 #

  • Details.

[1.0.1] - 2019/01/04 #

  • Allow mock files.

[1.0.0] - 2018/12/11 #

  • Tested thoroughly.

[0.0.2] - 2018/12/10 #

  • Corrected changelog and license.

[0.0.1] - 2018/12/10 #

  • Reads from the file, or fetches from the network and saves to the file.
175
likes
130
pub points
93%
popularity

Publisher

verified publisherglasberg.dev

Opens a local image file, if it exists there. If it doesn't, fetches the image from the network and then saves to the local file for next time.

Repository (GitHub)
View/report issues

Topics

#image #network-image #cache #network #widgets

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on network_to_file_image