Buscar pacotes, repositórios e categorias de apps

Repositório GitHubShadow60539/flutter_preload_videos

flutter_preload_videos

Pré-carregamento de vídeos no Flutter 💙

Capa do projeto flutter_preload_videos
Estrelas
143
Forks
42
Último push (UTC)
23 de abr. de 2023
Status do projeto
Ativo

README original

Texto original em inglês. Visite o GitHub para a versão atual.

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

Sanjeev Madhav GitHub avatar
Autor no GitHub

Sanjeev Madhav ↗

App Developer | Flutter | Jetpack Compose

TATA CLIQ
LinguagensDartHTMLSwiftKotlinObjective-C

Categorias

Dependências usadas

Lista de dependências 10 itens

Rankings

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗