AI Recipe Assistant is a Flutter application that uses Google's GenUI framework to create dynamic, AI-powered user interfaces. The app helps users discover recipes based on available ingredients using Gemini AI.
- AI-Powered Recipes: Get personalized recipe suggestions based on your ingredients
- Dynamic UI Generation: UI components are generated dynamically by AI using GenUI
- Custom Widgets: Beautiful recipe cards, ingredient lists, step cards, and serving sliders
- Real-time Interaction: Chat-based interface for natural conversation with AI
Screen.Recording.2025-11-29.at.13.27.03.mov
- Flutter - Cross-platform UI framework
- GenUI - Google's generative UI framework
- Gemini AI - Google's generative AI model
- Material 3 - Modern design system
lib/
├── main.dart # App entry point
├── screens/
│ └── chat_screens.dart # Main chat screen
├── catalog/
│ ├── recipe_catalog.dart # Widget catalog & system prompt
│ └── catelog_items/
│ ├── recipe_card.dart # Recipe summary card
│ ├── ingredient_list.dart # Ingredients with checkboxes
│ ├── serving_slider.dart # Portion adjuster
│ └── step_card.dart # Cooking step card
└── widget/
└── message_buble.dart # Chat message bubble
-
Clone the repository
git clone <repository-url> cd recipe_genui_app_example
-
Install dependencies
flutter pub get
-
Get Gemini API Key
- Go to Google AI Studio
- Create an API key
-
Run the app
flutter run --dart-define=GEMINI_API_KEY=your_api_key_here
Create .vscode/launch.json:
{
"configurations": [
{
"name": "Flutter",
"request": "launch",
"type": "dart",
"args": [
"--dart-define=GEMINI_API_KEY=your_api_key_here"
]
}
]
}| Widget | Description |
|---|---|
RecipeCard |
Displays recipe title, duration, difficulty, and emoji |
IngredientList |
Interactive ingredient checklist with quantities |
ServingSlider |
Adjustable portion size slider |
StepCard |
Cooking instruction steps with tips and timing |
- Flutter SDK ^3.10.0
- Dart SDK ^3.10.0
- Gemini API Key
AI Tarif Asistani, Google'in GenUI framework'unu kullanarak dinamik, yapay zeka destekli kullanici arayuzleri olusturan bir Flutter uygulamasidir. Uygulama, Gemini AI kullanarak mevcut malzemelere gore tarif onerileri sunar.
- AI Destekli Tarifler: Malzemelerinize gore kisisellestirilmis tarif onerileri
- Dinamik UI Olusturma: GenUI ile AI tarafindan dinamik olarak olusturulan arayuz bilesenleri
- Ozel Widget'lar: Guzel tarif kartlari, malzeme listeleri, adim kartlari ve porsiyon ayarlayici
- Gercek Zamanli Etkilesim: AI ile dogal sohbet tabanli arayuz
Screen.Recording.2025-11-29.at.13.27.03.mov
- Flutter - Coklu platform UI framework'u
- GenUI - Google'in uretken UI framework'u
- Gemini AI - Google'in uretken AI modeli
- Material 3 - Modern tasarim sistemi
lib/
├── main.dart # Uygulama giris noktasi
├── screens/
│ └── chat_screens.dart # Ana sohbet ekrani
├── catalog/
│ ├── recipe_catalog.dart # Widget katalogu & sistem promptu
│ └── catelog_items/
│ ├── recipe_card.dart # Tarif ozet karti
│ ├── ingredient_list.dart # Isaretlenebilir malzeme listesi
│ ├── serving_slider.dart # Porsiyon ayarlayici
│ └── step_card.dart # Pisirme adimi karti
└── widget/
└── message_buble.dart # Sohbet mesaj baloncugu
-
Repoyu klonlayin
git clone <repository-url> cd recipe_genui_app_example
-
Bagimliliklari yukleyin
flutter pub get
-
Gemini API Anahtari Alin
- Google AI Studio adresine gidin
- Bir API anahtari olusturun
-
Uygulamayi calistirin
flutter run --dart-define=GEMINI_API_KEY=api_anahtariniz
.vscode/launch.json dosyasi olusturun:
{
"configurations": [
{
"name": "Flutter",
"request": "launch",
"type": "dart",
"args": [
"--dart-define=GEMINI_API_KEY=api_anahtariniz"
]
}
]
}| Widget | Aciklama |
|---|---|
RecipeCard |
Tarif basligi, suresi, zorlugu ve emojisini gosterir |
IngredientList |
Miktarlarla birlikte etkilesimli malzeme kontrol listesi |
ServingSlider |
Ayarlanabilir porsiyon boyutu kaydirici |
StepCard |
Ipuclari ve zamanlama ile pisirme talimati adimlari |
- Flutter SDK ^3.10.0
- Dart SDK ^3.10.0
- Gemini API Anahtari
MIT License
Pull requests are welcome! / Pull request'ler memnuniyetle karsilanir!