Here is the core folder structure which flutter provides.
flutter_bloc_boilerplate/
|- android
|- build
|- ios
|- lib
flutter_bloc
: https://pub.dev/packages/flutter_blocshared_preferences
: https://pub.dev/packages/shared_preferenceshexcolor
: https://pub.dev/packages/hexcolorcached_network_image
: https://pub.dev/packages/cached_network_imagesqflite
: https://pub.dev/packages/sqflitedio
: https://pub.dev/packages/diolottie
: https://pub.dev/packages/lottieyoutube_player_flutter
: https://pub.dev/packages/youtube_player_fluttercarousel_slider
: https://pub.dev/packages/carousel_sliderflutter_zoom_drawer
: https://pub.dev/packages/flutter_zoom_drawercarousel_slider
: https://pub.dev/packages/carousel_sliderflutter_spinkit
: https://pub.dev/packages/flutter_spinkitgoogle_nav_bar
: https://pub.dev/packages/google_nav_bar
This application is using api of themoviedb, so before using it you have to create an api from themoviedb and generate an API and apply it to this application, follow the below step to connect api with this app.
First go to https://www.themoviedb.org/documentation/api, and follow the API Documentation, you will get the API Code.
- go to
secret/the_moviedb_api.dart
- you will see the code like this
const String themoviedbApi = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
- replace the all
xx..
to your API, like this
const String themoviedbApi = 'your_api_code_here';
- enjoy coding 💙
flutter clean
flutter pub get
flutter pub run build_runner build
orflutter pub run build_runner build --delete-conflicting-outputs
flutter run
(if needed)
I will be happy to answer any questions, please feel free to submit an issue and/or pull request 🙂
If you liked my project, don’t forget to ⭐ star the repo to show your support. Thank you!!!