fp_resumable_uploads 0.0.2
fp_resumable_uploads: ^0.0.2 copied to clipboard
The FlutterResumableUploads package provides functionality for uploading large video files in chunks, allowing for pausing and resuming uploads as needed.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fp_resumable_uploadsWith Flutter:
$ flutter pub add fp_resumable_uploadsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
fp_resumable_uploads: ^0.0.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fp_resumable_uploads/flutter_resumable_uploads.dart';
import 'package:fp_resumable_uploads/models/progress_model.dart';
import 'package:fp_resumable_uploads/models/video_upload_state_model.dart';
import 'package:fp_resumable_uploads/services/video_upload_service.dart';
import 'package:fp_resumable_uploads/utils/constants.dart';