Inshorts Clone using flutter
Inshorts clone created with ❤️ . Caching,Bookmark,Animation,Dark mode!
Report bug
·
Request feature
Inshorts clone app using flutter
This project is a starting point for a Flutter application.
Step 1:
Download or clone this repo by using the link below:
https://github.com/bibek-ranjan-saha/inshorts_clone.git
Step 2:
Go to project root and execute the following command in console to get the required dependencies:
flutter pub get
Step 3:
This project uses flavors
to differentiate app builds, execute the following command to run app:
flutter run apk -t lib/flavours/main_dev.dart --flavor development
Step 3:
Create a release apk to share a normal user:
flutter build apk --release -t lib/flavours/main_prod.dart --flavor production --no-tree-shake-icons
- dio (Networking client)
- hive_flutter (Local Database)
- shared_preferences (Storing smaller key-value pair)
- go_router (routing/navigation)
- provider (State Management)
- intl (Formatting/Localization)
- cached_network_image (Image caching)
- dio_http_cache (Http caching)
- webview_flutter (Web view)
- another_transformer_page_view (Page transition animation)
- path_provider (Path provider)
Folder structureI am using in this project
lib/
|- constants/
|- flavours/
|- models/
|- providers/
|- screens/
|- services/
|- utils/
|- widgets/
|- main_common.dart