From d7eec911a7324472cb9c72073caab50168b0da0b Mon Sep 17 00:00:00 2001 From: Vinay Rawat Date: Sun, 21 Apr 2024 11:59:11 +0530 Subject: [PATCH] feat: Added image search feature 1. Add image search feature 2. Used native package provided by google and removed third party package of generative ai --- android/app/src/main/AndroidManifest.xml | 15 +- lib/providers/gemini_chat_provider.dart | 70 +++- lib/screens/chat.dart | 87 ++++- lib/screens/settings.dart | 8 +- linux/flutter/generated_plugin_registrant.cc | 4 + linux/flutter/generated_plugins.cmake | 1 + macos/Flutter/GeneratedPluginRegistrant.swift | 2 + pubspec.lock | 356 ++++++++++++------ pubspec.yaml | 4 +- .../flutter/generated_plugin_registrant.cc | 3 + windows/flutter/generated_plugins.cmake | 1 + 11 files changed, 399 insertions(+), 152 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index c2f41ee..b44696f 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,6 @@ - + + + android:name="io.flutter.embedding.android.NormalTheme" + android:resource="@style/NormalTheme" + /> - - + +