http_cache_stream 0.0.1
http_cache_stream: ^0.0.1 copied to clipboard
Simultaneously download, cache, and stream remote content. Perfect for media players and any plugin that streams web content.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add http_cache_stream
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
http_cache_stream: ^0.0.1
copied to clipboard
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:http_cache_stream/http_cache_stream.dart';
copied to clipboard