Preloading logic to reduce video initialization
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.git
# Install dependencies
$ flutter packages get
# Run the app
$ flutter run
Package | Description |
---|---|
video_player | Render videos in Flutter |
build_runner | Build Custom Models |
flutter_bloc | BLoC State Management |
freezed | Code generation for immutable classes |
The project directory structure is as follows:
├── android
├── asset
├── build
├── images
├── ios
├── lib
├── test
├── analysis_options.yaml
├── pubspec.lock
├── pubspec.yaml