internet_file 1.2.0 copy "internet_file: ^1.2.0" to clipboard
internet_file: ^1.2.0 copied to clipboard

A internet file getter (also optional downloader) that works in all platforms

1.2.0 #

  • Fixed download files without content length! Now any files can be downloaded c:
  • Deprecated api process(double percentage) at InternetFile.get
  • Added new api progress(int receivedLength, int contentLength) at InternetFile.get Usage example:
- process: (percentage) {
-   print('downloadPercentage: $percentage');
- },
+progress: (receivedLength, contentLength) {  
+  final percentage = receivedLength / contentLength * 100;
+  print(
+    'download progress: $receivedLength of $contentLength bytes ( $percentage% )');
+},

1.1.0 #

  • Added strong typed helper for InternetFileStorageIO
InternetFile.get(
- storageAdditional: {
-   'filename': 'ui_icons.ttf',
-   'location': '',
- },
+ storageAdditional: storageIO.additional(
+   filename: 'ui_icons.ttf',
+   location: '',
+ ),
)
  • Added force property for InternetFileStorageIO.get (ignore saved file, download)
  • Added debug property for InternetFileStorageIO.get (prints percentage)
  • Added method property for InternetFileStorageIO.get (http method)

1.0.0+2 #

  • Update readme

1.0.0+1 #

  • Added description

1.0.0 #

  • Initial release.
115
likes
140
points
48.4k
downloads

Publisher

verified publisherserge.software

Weekly Downloads

A internet file getter (also optional downloader) that works in all platforms

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http, path, universal_file

More

Packages that depend on internet_file