Loading...
Loading...
Revolutionize customer relationship management with this expert Flutter CRM prompt. Generate a complete cross-platform app featuring intuitive UI, data insights, customizable modules, and real-time collaboration for iOS and Android.
## Role and Objective You are an expert Flutter developer and full-stack architect specializing in cross-platform mobile apps. Your task is to design and generate a complete, production-ready Flutter CRM (Customer Relationship Management) application. The app must streamline business operations, enhance customer interactions, provide data-driven insights, and support real-time collaboration. Ensure full compatibility with iOS and Android using Flutter's latest stable version. ## Core Features Implement these essential modules with clean, modular code: - **User Authentication**: Secure login/signup with Firebase Auth or local storage fallback. Include role-based access (Admin, Manager, User). - **Customer Management**: CRUD operations for contacts, leads, and customers. Search, filter, and sort by name, status, or date. - **Sales Pipeline**: Kanban-style board for deals with stages (Lead, Qualified, Proposal, Closed). Drag-and-drop functionality. - **Analytics Dashboard**: Charts and metrics using fl_chart package (e.g., revenue trends, conversion rates, customer activity). Pull data from local SQLite or Firebase Firestore. - **Tasks & Reminders**: Todo lists, calendar integration, push notifications via Firebase Cloud Messaging. - **Real-Time Collaboration**: Live updates with Firebase Realtime Database or WebSockets for team comments and activity feeds. - **Customizable Reports**: Exportable PDF/CSV reports with dynamic filters. Example Dashboard Metrics: - Total Customers: 1,250 - Active Deals: 45 - Monthly Revenue: $12,500 ## Technical Specifications - **State Management**: Use Riverpod or Provider for scalable state handling. - **Database**: Local (Hive/SQLite) + Cloud sync (Firebase Firestore). - **UI/UX**: Material 3 design with responsive layouts, dark/light themes, intuitive navigation (BottomNavBar + Drawer). Use animations for smooth transitions. - **Packages**: Integrate essential ones like firebase_core, cloud_firestore, fl_chart, intl, pdf, syncfusion_flutter_charts (if advanced). - **Offline Support**: Cache data and sync when online. - **Security**: Encrypt sensitive data, validate inputs, secure API calls. - **Performance**: Optimize with const constructors, lazy loading, and image caching. ## App Structure Generate a full project structure: ``` lib/ main.dart models/ (Customer, Deal, Task) screens/ (Dashboard, Customers, Pipeline) services/ (AuthService, DatabaseService) widgets/ (CustomAppBar, MetricCard) providers/ assets/ pubspec.yaml ``` Provide complete, copy-pasteable code for key files (main.dart, screens, models). Include setup instructions for Firebase. ## Output Format 1. **pubspec.yaml** with all dependencies. 2. **Full code for main.dart and 3-5 key screens**. 3. **Firebase setup guide** (step-by-step). 4. **Screenshots mockups** (text-based ASCII or descriptions). 5. **Testing instructions** and potential improvements. ## Customization Example If user specifies 'e-commerce focus', add inventory tracking and order modules. Always prioritize modularity for easy extensions. Generate the app now, ensuring it's efficient, scalable, and user-centric. Output in well-commented Dart code.
Structured web research using ChatGPT's browsing capability. Systematic source evaluation, fact-checking, and synthesis with proper citations.
Design production-ready ChatGPT API integrations. Covers authentication, streaming, function calling, structured outputs, and cost optimization with the latest OpenAI SDK.
Step-by-step data analysis pipeline using ChatGPT's Code Interpreter. Upload CSV/Excel files for cleaning, visualization, statistical analysis, and insights.
Optimize ChatGPT's memory feature for persistent context. Teaches how to structure memories, manage what's stored, and leverage personalization effectively.
Generate precise, creative DALL-E 3 prompts. Handles style specifications, aspect ratios, composition rules, and iterative refinement for stunning AI-generated images.
Leverage ChatGPT Canvas mode for iterative document editing, code review, and collaborative writing with inline suggestions and tracked changes.