Skip to content

Latest commit

 

History

History
160 lines (133 loc) · 4.31 KB

File metadata and controls

160 lines (133 loc) · 4.31 KB


Flutter ChatGPT with Clean Architecture

An Advanced AI Chat Application with Text and Image Generation

📌 Overview

A sophisticated Flutter application that integrates OpenAI's ChatGPT API for text conversations and image generation. Built with clean architecture principles, the app offers a seamless AI chat experience with advanced features and customizable themes.

🚀 Tech Stack

  • Flutter (UI Framework)
  • Riverpod (State Management)
  • OpenAI API (AI Integration)
  • Clean Architecture

🔑 Key Features

  • AI Chat Interface: Smooth conversation experience with ChatGPT
  • Image Generation: Create images using AI
  • Theme Customization: Multiple theme options with custom colors
  • Code Highlighting: Proper formatting for code blocks
  • Message Management: Copy, share, and delete messages
  • Authentication: Secure user login and signup
  • Responsive Design: Works across different screen sizes

📸 Banner

AI Chat Banner

📸 Screenshots

Authentication & Home

Splash Screen

Splash Screen

Login

Login Screen

Signup

Signup Screen

Chat Interface

Chat Interface

Chat Interface

New Theme

Themed Chat

Copy Feature

Copy Message

Share Feature

Share Message

Navigation Drawer

Navigation Menu

Clear Chat

Clear Chat

Theme Customization

Theme Selector

Theme Selection

Custom Theme

Custom Colors

Theme Preview

Theme Preview

📁 Project Structure

lib/
├── bloc/
│ ├── chat_bloc.dart
│ └── chat_event.dart
│ └── chat_state.dart
├── models/
│ └── chat_message.dart
├── repositories/
│ └── chat_repository.dart
├── screens/
│ ├── chat_screen.dart
│ └── home_screen.dart
├── services/
│ └── api_service.dart
├── utils/
│ └── constants.dart
└── main.dart

📦 Installation

  1. Clone the repository:

bash git clone https://github.com/jamalihassan0307/Flutter-ChatGPT-Text-and-image-generater.git bash flutter pub get

  1. Run the app:

bash flutter run

👨‍💻 Developer

Developed by Jam Ali Hassan


Made with ❤️ using Flutter and OpenAI