Тёмный

Build a Flutter App with Gemini AI 

Open Source
Подписаться 742
Просмотров 22 тыс.
50% 1

Want to add cutting-edge AI to your Flutter app? This video is your one-stop shop!
Learn how to effortlessly integrate Gemini, Google's powerful AI tool, into your Flutter project.
Don't wait, unleash the power of AI in your next project!
#Flutter #BuildWithGemini #GeminiAI #AI #AppDevelopment #TextGeneration #Tutorial #GoogleAI

Наука

Опубликовано:

 

14 мар 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@user-gp3ll5nm3l
@user-gp3ll5nm3l 3 месяца назад
Some people thought it was an AI generating a whole code for an app.
@user-vm8yn4hb4w
@user-vm8yn4hb4w 3 месяца назад
I got scammed bro
@hld8626
@hld8626 4 месяца назад
Good
@flutterkg
@flutterkg 2 месяца назад
Hi, 2:53 of your video had a yellow line underneath that bool _loading = false was not used, and at 2:57 the yellow line disappeared, which puzzled us. Tell me.
@TheOpenSourceChannel
@TheOpenSourceChannel 2 месяца назад
Hi @adilbekkurmanbekuulu7999, Yellow line was there because of the value of the field '_loading' was not used. I have updated the send button code in between, which is not shown in the video. if (!_loading) IconButton( onPressed: () async { _sendChatMessage(_textController.text); }, icon: Icon( Icons.send, color: Theme.of(context).colorScheme.primary, ), ) else const CircularProgressIndicator(), Thanks for watching!
@ThePureedge
@ThePureedge 3 месяца назад
The title is honestly misleading. What should've been the title is "Build a UI on top of Gemini API using Flutter"
@niv8880
@niv8880 2 месяца назад
totally agree. Disappointing.
@FlutterTeam-su1em
@FlutterTeam-su1em 2 месяца назад
I amm getting this error, and follow your code, am not able to make send msg button , errro is >>> "Method doesn't allow unregistered callers (callers without established identity). Please use API Key or other form of API consumer identity to call this API."
@TheOpenSourceChannel
@TheOpenSourceChannel 2 месяца назад
@FlutterTeam-su1em Thanks for watching the video. Have you generated the API key from Google AI Studio? You need to add it to your project in env.json file. Watch the video at 0:48 to add api key in your project.
@user-mr9me3oe2d
@user-mr9me3oe2d Месяц назад
I run flutter run -d --dart-define-from-file=env.json
@MohamedHossam-qw6ks
@MohamedHossam-qw6ks 4 месяца назад
When i run the code in my mobile there is black screen it not appear any thing how can i fix that
@TheOpenSourceChannel
@TheOpenSourceChannel 4 месяца назад
There must be some mistake in your UI code. Is input field is visible?
@devilsingh6052
@devilsingh6052 3 месяца назад
@@TheOpenSourceChannel can u give us repo
@michaelandreas1857
@michaelandreas1857 4 месяца назад
Expecting binder but got null! How to fix that error?
@TheOpenSourceChannel
@TheOpenSourceChannel 4 месяца назад
Please try adding the line below in the main() function WidgetsFlutterBinding.ensureInitialized(); Your main() function should look like this. void main() { WidgetsFlutterBinding.ensureInitialized(); runApp(const MyApp()); }
@michaelandreas1857
@michaelandreas1857 4 месяца назад
@@TheOpenSourceChannel Can you send me a source code by Email?
@michaelandreas1857
@michaelandreas1857 4 месяца назад
@@TheOpenSourceChannel The send button does not appear
@TheOpenSourceChannel
@TheOpenSourceChannel 4 месяца назад
Hey @michaelandreas1857 Now GeminiAI demo is available on Dartpad. Check it out - dartpad.dev/?sample=google-ai-sdk You can watch the demo here - ru-vid.com3qz_s5Ud42s?feature=share
@RenderRift
@RenderRift 4 месяца назад
Can I have the code for reference?
@TheOpenSourceChannel
@TheOpenSourceChannel 4 месяца назад
Hey @RenderRift Now GeminiAI demo is available on Dartpad. Check it out - dartpad.dev/?sample=google-ai-sdk You can watch the demo here - ru-vid.com3qz_s5Ud42s?feature=share
@clbfatih
@clbfatih 4 месяца назад
You shouldn't publish your api key like this. you could embed your key as an environment variable using "set API_KEY=" on windows
@TheOpenSourceChannel
@TheOpenSourceChannel 4 месяца назад
I agree @fatihc9230 we shouldn't publish api key like this. It is just to make the demo easier to understand. Actually we should use flutter_dotenv package to store environment variables.
@niv8880
@niv8880 2 месяца назад
@@TheOpenSourceChannel Thanks for tip, I checked it out, you are spot on!
Далее
Create starter flutter UI for free with ChatGPT 4o
2:54
I've Built an Android App With Google's New AI Gemini
8:13
Build a Generative UI app with LangGraph Cloud
28:37
5 Awesome Flutter Packages you should Know
2:53
Просмотров 23 тыс.
Gemini API Developer Competition - How to Join
2:39
Просмотров 23 тыс.