A Food App with Flutter and Firebase, Firestore /Auth

In Development [πŸ‘€πŸ”„ 70% ].

Nibbles – Flutter Food App πŸ”πŸ•πŸ°

Nibbles is a Flutter-based food app designed to provide users with a delightful and user-friendly experience as they explore a variety of meals and food packages. The app utilizes the Bloc pattern and Cubits for efficient state management, integrates Firebase Firestore for real-time data storage, and incorporates various plugins to enhance its functionality.

Features

  • Ecommerce Experience: Enjoy a seamless ecommerce experience, effortlessly exploring a diverse range of meals and food packages.

  • Complex UI Design: Immerse yourself in a visually appealing and sophisticated user interface for an engaging experience.

  • Firebase Integration: Access real-time data with Firebase Firestore, ensuring the latest information on meals and food packages.

  • Authentication: Sign up and sign in securely using Firebase Authentication, providing a reliable and safe user experience.

  • Search Functionality: Easily find specific meals or food packages based on preferences with a robust search feature.

  • Qr Code Scanner: Quickly access relevant information through the integrated Qr code scanner.

  • Favourite Lists: Manage your favourite lists, making it convenient to keep track of preferred meals and food packages.

  • Filter Options: Refine your search with filter options based on specific criteria, enhancing the overall browsing experience.

  • Contact Us: Connect with app administrators using the β€œContact Us” feature.

  • App Info Screens: Access essential app-related information with informative screens such as β€œAbout” and β€œPrivacy.”.

  • Kid Accounts: Enable users to create accounts for their kids with a dedicated AddKidScreen.

  • Responsive Layouts: The UI design is responsive, adapting gracefully to various screen sizes.

Directory Structure

The project is organized into several directories:

  • application: Contains feature Blocs, global Cubits, and logic for state management.

  • configs: Includes configuration files such as spaces, app text and typography.

  • core: Houses fundamental app components like the main app file, enums, router, extensions, constants, etc.

  • models: Contains data models used throughout the app, including structures for meals and users.

  • presentation: Encompasses the app’s user interface, featuring screens and widgets for an enhanced visual experience.

  • repositories: Includes repositories for meals, packages, and other relevant data.

project_root
β”‚
β”œβ”€β”€ πŸ“ application
β”‚   β”œβ”€β”€ πŸ“ feature_blocs
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ πŸ“ global_cubits
β”‚   β”‚   └── ...
β”‚   └── ...
β”‚
β”œβ”€β”€ πŸ“ configs
β”‚   β”œβ”€β”€ πŸ“„ apptext.dart
β”‚   β”œβ”€β”€ πŸ“„ app_typography.dart
β”‚   └── ...
β”‚
β”œβ”€β”€ πŸ“ core
β”‚   β”œβ”€β”€ πŸ“„ app.dart
β”‚   β”œβ”€β”€ πŸ“„ enums.dart
β”‚   β”œβ”€β”€ πŸ“„ extensions.dart
β”‚   β”œβ”€β”€ πŸ“„ constants.dart
β”‚   └── ...
β”‚
β”œβ”€β”€ πŸ“ models
β”‚   β”œβ”€β”€ πŸ“„ meal.dart
β”‚   β”œβ”€β”€ πŸ“„ user.dart
β”‚   └── ...
β”‚
β”œβ”€β”€ πŸ“ presentation
β”‚   β”œβ”€β”€ πŸ“ screens
β”‚   β”‚   β”œβ”€β”€ πŸ“„ home_screen.dart
β”‚   β”‚   β”œβ”€β”€ πŸ“„ search_screen.dart
β”‚   β”‚   └── ...
β”‚   └── πŸ“ widgets
β”‚       β”œβ”€β”€ πŸ“„ custom_button.dart
β”‚       β”œβ”€β”€ πŸ“„ bottom_navbar.dart
β”‚       └── ...      
β”‚
└── πŸ“ repositories
    β”œβ”€β”€ πŸ“ meals_repos
    β”œβ”€β”€ πŸ“ packages_repos
    └── ...

Dependencies

  • flutter_svg: Renders SVG files for scalable and crisp vector graphics.

  • firebase_core: Essential functionality for initializing Firebase services within a Flutter app.

  • cloud_firestore: Facilitates seamless integration with Cloud Firestore, a NoSQL document database.

  • firebase_auth: Enables secure user authentication, supporting sign-up and sign-in processes.

  • smooth_page_indicator: Creates smooth and customizable page indicators for improved navigation.

  • buttons_tabbar: Provides a variety of customizable tab bar styles, enhancing visual appeal and user interaction.

  • equatable: Simplifies the implementation of equality and hash code methods for easier object comparison.

  • flutter_bloc: A state management library for organizing and separating business logic from UI components.

  • carousel_slider: Creates carousel sliders for implementing image sliders or other sliding content.

  • flutter_barcode_scanner: A plugin for scanning barcodes and QR codes using the device’s camera.

  • url_launcher: Opens URLs in the default web browser, facilitating external content connections.

  • connectivity_plus: Provides a simple and efficient way to monitor the network connectivity status of a device..

These dependencies collectively contribute to the functionality, design, and user experience of the Nibbles Flutter app, ensuring a robust and feature-rich application for exploring meals and food packages.

Blocs and Cubits

  • AuthBloc
  • CategoriesBloc
  • UserBloc
  • SignUpBloc
  • SignInBloc
  • PackagesBloc
  • MealsBloc
  • NavigationCubit
  • FavoriteMealsCubit
  • SearchCubit
  • FavouritePackagesCubit
  • FilterCubit
  • ContactUsCubit
  • KidsCubit
  • KidsStepsCubit
  • AddAddressCubit
  • GetAddressesCubit
  • ConnectivityCubit

Screens

  • AboutScreen
  • AddKidScreen
  • CategoriesScreen
  • ContactScreen
  • FavoritesScreen
  • HomeScreen
  • IntroScreen
  • LoginScreen
  • MealDetailsScreen
  • MealsByCategoryScreen
  • MoreScreen
  • NoKidsScreen
  • OffersScreen
  • PackagesScreen
  • PrivacyScreen
  • ProfileScreen
  • QrCodeScreen
  • RootScreen
  • SearchScreen
  • SignUpScreen
  • AdsScreen
  • SplashScreen
  • TermsScreen

Getting Started

To get started with Nibbles:

  1. Clone the repository to your local machine.
  2. Open the project in your preferred Flutter development environment.
  3. Ensure you have the necessary dependencies installed using flutter pub get.
  4. Run the app on your preferred emulator or physical device.

Feel free to explore and customize the app according to your needs. Share your feedback!

License

This project is licensed under the MIT License, allowing for flexibility and collaboration.

Happy coding and happy nibbling with Nibbles! πŸ”πŸ•πŸ°

Demos

nibbles-50.mp4

authentication.mp4

search-meals-by-qrCode-nibbles.mp4

contactus.mp4

GitHub

View Github