flutter_netflix
Netflix 克隆版,使用 BloC、GoRouter 和 TMDB。
- 星標
- 187
- 分支
- 48
- 最近推送(UTC)
- 2024年5月20日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
🚀 Netflix UI Clone in Flutter using BloC
The Project uses BloC package to manage the state and GoRouter for navigation. It use the awesome TMDB API to fetch the needed tv shows and movie data.
The main purpose of this project is to demonstrate the usage of BloC and GoRouter combined but even more to demonstrate Slivers usage in Flutter. It heavily depends on Slivers, like CustomScrollView, SliverList, GridView, SliverAppBar and even SliverPersistentHeader. It also has a BottomBarNavigation nicely implemented with GoRouter's ShellRoute. Apart from that it uses Hero Widgets in order to animate a simple small transition when moving from Home -> Tv Shows and a CustomPainter to replicate the smiley faces on the profiles.
It contains various screens like Profile Selection, Home, New & Hot, Movie and Tv Show Details Page.
Apart from that the project implements custom App Icon and Splash Screen and on Android it uses the new Android 12 API for showing Splash screen.
NOTE: This project is not a complete Netflix UI Clone but I would say it's the most "complete" compared to other on the internet which in their way are awesome as well!
Download
For those that want to have a quick look at the app you can download and install the apk on an android device or emulator from Releases.
Running
- Get Packages
flutter pub get
- Get an API key from TMDB and replace it in
lib/api/api.dart
final apiKey = 'INSERT_YOUR_API_KEY_HERE';
- Run App
flutter run --release
Links
Netflix Clone in Flutter using BloC, GoRouter and TMDB - Medium
Credits
Licence
flutter_netflix is Licenced under the MIT Licence
分類
使用的依賴
依賴清單 13 項
- flutter
{"sdk":"flutter"} - cupertino_icons
^1.0.2 - flutter_bloc
^8.1.2 - shimmer
^2.0.0 - ionicons
^0.2.2 - http
^0.13.5 - cached_network_image
^3.2.3 - lucide_icons
^0.115.0 - intl
^0.18.0 - sliver_tools
^0.2.9 - go_router
^6.0.9 - flutter_test開發依賴
{"sdk":"flutter"} - flutter_lints開發依賴
^2.0.0
所在榜單
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
