패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.2.0

flowder

지속 가능한 파일 다운로드 매니저. 다운로드를 시작, 일시정지, 재개, 취소할 수 있습니다.

30일 다운로드
74
좋아요
130
Pub 점수
60

패키지 설치

flutter pub add flowder

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Flowder는 Flutter용 지속 가능한 파일 다운로드 관리자로 사용자가 다운로드를 시작, 일시정지, 재개 및 취소하는 것을 쉽게 가능하게 합니다. 신뢰성에 중점을 두어 앱이 닫히거나 기기가 재시작되어도 다운로드가 계속되도록 보장합니다. 강력한 백그라운드 다운로드 기능을 필요로 하는 앱에 원활하게 통합되며, 재시작 가능한 전송과 효율적인 자원 관리를 지원합니다. 동영상 스트리밍, 문서 검색 또는 앱 업데이트 시스템과 같은 미디어 중심 애플리케이션에 적합합니다. Flowder는 파일 무결성과 진행 상황 추적을 처리하여 프로덕션 환경에 적합합니다.

사용 사례

  • 백그라운드 파일 다운로드
  • 앱 재시작 후 다운로드 재개
  • 미디어 콘텐츠 오프라인 캐싱
  • 앱 업데이트 다운로드
  • 대용량 파일 전송
  • 오프라인 데이터 동기화

주요 기능

  • 지속 다운로드 상태
  • 일시정지/재개/취소 작업 지원
  • 백그라운드 다운로드 실행
  • 파일 무결성 검증
  • 진행 추적 API
  • 크로스 플랫폼 호환성

적합한 대상

  • 신뢰할 수 있는 백그라운드 다운로드가 필요한 앱
  • 미디어 또는 문서 기반 애플리케이션
  • 오프라인 액세스가 필요한 응용 프로그램
  • 업데이트 또는 동기화 기능을 구축하는 개발자
  • 대규모 파일 전송이 필요한 프로젝트

고려 사항

  • 저장소 액세스를 위한 적절한 권한이 필요합니다
  • iOS에서 백그라운드 실행을 위해 추가 구성이 필요할 수 있습니다
  • 제한된 플랫폼별 사용자 정의 옵션
  • 완전한 기능을 위해 외부 종속성에 의존합니다
  • 실시간 스트리밍을 위한 설계가 아님

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Flowder

Handle your file downloads status in a more simple and easy way :heartbeat:

pubspec.yaml

dependencies:

flowder: ^0.2.0

Examples

Basic

To start using flowder, is required to do the following setup.


fina downloaderUtils = DownloaderUtils(

progressCallback: (current, total) {

final progress = (current / total) * 100;

print('Downloading: $progress');

},

file: File('$path_to_store_file/200MB.zip'),

progress: ProgressImplementation(),

onDone: () => print('Download done'),

deleteOnCancel: true,

);

final core = await Flowder.download(

'http://ipv4.download.thinkbroadband.com/200MB.zip',

downloaderUtils);

To start a new download.


core.download(url, downloaderUtils);

To resume a download.


core.resume();

To cancel a download.


core.cancel();

To pause a download.


core.pause();

Advanced

If you require an example using internet connection checker, please go to the folder advanced example. The stack used is:

  • get_it
  • injectable
  • riverpod
  • path_provider
  • connectivity_plus (this is the best plugin to check internet connection, the others were buggy :cry:
  • dio.
  • Permission_handler
Currently done:
  • [x] Download states.

  • [x] Handle multiple downloader.

  • [x] Advanced example using internet connection checker.

Contributing

All contributions are welcome!

If you like this project then please click on the :star2: it'll be appreciated or if you wanna add more epic stuff you can submite your pull request and it'll be gladly accepted :ok_man:

or if you have an idea please let me know with a new issue.

카테고리

의존성

의존성 목록 1 개

소스 저장소

이 패키지를 사용하는 프로젝트