

Flutter, Google Gemini Chat Bot with Hive Local Storage: Build a Persistent AI App
Master AI conversations and persistent chat history in your Flutter app with Google Gemini and Hive!
This course equips you with the skills to build a powerful Flutter chat application powered by Google’s cutting-edge Gemini AI for natural language interactions. You’ll learn to seamlessly integrate Gemini using the google_generative_ai package, allowing your users to have engaging conversations with the AI. But that’s not all!
Never lose a conversation again! We’ll show you how to implement Flutter Hive for local storage, enabling users to save their chat history and pick up conversations right where they left off.
Cater to all preferences with a user-friendly light and dark mode toggle. Enhance your app’s usability and provide a comfortable experience for all users.
Unlock the full potential of Gemini! This course delves into both the Gemini-Pro and Gemini-Pro-Vision models, empowering you to explore the different functionalities of Google’s AI technology.
No API key woes! We’ll guide you through the process of generating your own API key from Google, ensuring a smooth integration of Gemini into your Flutter project.
Whether you’re a Flutter beginner or an experienced developer seeking to add AI to your skillset, this course is for you! Enroll today and start building your own intelligent conversation app with the power of Flutter, Google Gemini, and Hive local storage.
This course includes downloadable resources and access to the instructor for any questions you may have along the way.
-
2Getting Started
This video introduces the course, sets up a new Flutter project, and installs the required packages like google_generative_ai, hive, and more.
-
3Home screen UI and Hive boxes
This video focuses on building the basic user interface (UI) for the home screen with a bottom navigation bar and creates the Hive model class and adapters for data storage.
-
4Chat Provider Class
This video delves into creating a dedicated chatProvider class that will manage the chat functionalities and provides a foundation for implementing methods.
-
5BottomChatField
This video focuses on creating a dedicated widget for the bottom chat field within the Chat screen, where users can type and send messages.
-
6Chat Provider part 2
This video builds upon the chatProvider class from Lecture 4, adding more methods for handling chat functionality.
-
7Send Message
This video creates a method within the chatProvider class to handle sending prompts to the Gemini model for generating responses.
-
8Finalize Sending Text Message
This video finalizes the process of sending a text message by handling any necessary actions after sending the prompt.
-
9Message Widget and Scroll Controller
This video creates a reusable widget for displaying individual messages and implements automatic scrolling for the chat conversation list.
-
10Pick Images, Show Images & Create Animated Dialog
This video expands the chat functionality by adding features for picking images from the gallery, displaying them in the conversation, and creating animated dialogs.
-
11Save messages to Hive Local Storage
This video implements the functionality to save chat messages to Hive local storage for persistent chat history.
-
12Display Chats History
This video focuses on retrieving chat history data from Hive and displaying it in the dedicated Chat History screen.