FLUTTER ECOSYSTEM

Shadow60539/flutter_preload_videos

Flutter에서 비디오 사전 로드하기 💙

flutter_preload_videos 프로젝트 이미지
Stars
143
Forks
42
최근 푸시(UTC)
2023. 4. 23.
프로젝트 상태
활성
Sanjeev Madhav GitHub avatar
GITHUB User

Sanjeev Madhav ↗

App Developer | Flutter | Jetpack Compose

TATA CLIQ
언어DartHTMLSwiftKotlinObjective-C

기술 주제

사용 중인 의존성

의존성 목록 10 개

순위

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Dart Flutter

lib

Flutter Preload Videos from API

Introduction 🚀

Preloading logic to reduce video initialization using isolate to fetch videos in the background so that the video experience is not disturbed.

Without the use of isolate, the video will be paused whenever there is an API call because the main thread will be busy fetching new video URLs.

More about isolate: 🌐 https://blog.codemagic.io/understanding-flutter-isolates/

Demo 👀

Output sample

Logic 🎯

lib

Usage 🎨

To clone and run this application, you'll need git and flutter installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/Shadow60539/flutter_preload_videos.git

# Go into the repository
$ cd flutter_preload_videos

# Install dependencies
$ flutter packages get

# Run the app
$ flutter run
Packages 📦
Package Description
video_player Render videos in Flutter
build_runner Build Custom Models
flutter_bloc BLoC State Management
freezed Code generation for immutable classes
Directory Structure 🏢

The project directory structure is as follows:

├── android
├── asset
├── build
├── images
├── ios
├── lib
├── test
├── analysis_options.yaml
├── pubspec.lock
├── pubspec.yaml