A Flutter application that integrates Google AI for chat functionalities.
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
Ensure you have the following installed on your machine:
- Flutter (version 3.0 or later)
- Dart
- An IDE like VS Code or Android Studio
-
Clone the repository:
git clone https://github.com/yusmnn/flutter_chat_google_ai.git cd flutter_chat_google_ai
-
Install dependencies:
flutter pub get
-
Create your API KEY:
Obtain your API key from the Google AI Gemini API.
-
Add your API key to the project:
Create a file named
apikey.dart
in thelib/const
directory and paste your API key as follows:const apiKey = 'YOUR_API_KEY';
-
Run the app:
flutter run
Ensure that you have an emulator running or a physical device connected.
Check out a showcase of the application: