Skip to content

Jayaprakash-dev/Youtube-UI-Clone-Flutter

Repository files navigation

yt_ui_clone

I created a Flutter app by cloning the YouTube homepage and video mini-player UI and used the YouTube Data API v3 to fetch video data.

How to run

  1. Get your Youtube Data API v3 Key here
  2. Add a .env file at the root of the project and set an environment variable API_KEY which holds your Youtube Data API key
  3. Run the following commands
flutter pub get

flutter pub run build_runner clean

flutter pub run build_runner build
#(Note: enter '1' in the prompt to delete previously generated codes).

flutter run

Demo

demo_3_comp.mov

Screenshots