You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
samples/dynamic_theme
Eric Windmill 0e3289740c
Add IDX template configuration to Gemini samples (#2344)
4 months ago
..
.idx Add IDX template configuration to Gemini samples (#2344) 4 months ago
android Adding dynamic_theme and gemini_tasks (#2287) 6 months ago
ios Adding dynamic_theme and gemini_tasks (#2287) 6 months ago
lib Adds missing READMEs to dynamic_theme, gemini_tasks (#2288) 6 months ago
linux Adding dynamic_theme and gemini_tasks (#2287) 6 months ago
macos Adding dynamic_theme and gemini_tasks (#2287) 6 months ago
web Bump deps and min SDKs, move web apps to new bootstrapping logic (#2292) 6 months ago
windows Adding dynamic_theme and gemini_tasks (#2287) 6 months ago
.gitignore Adding dynamic_theme and gemini_tasks (#2287) 6 months ago
.metadata Adding dynamic_theme and gemini_tasks (#2287) 6 months ago
README.md Adds missing READMEs to dynamic_theme, gemini_tasks (#2288) 6 months ago
analysis_options.yaml Adding dynamic_theme and gemini_tasks (#2287) 6 months ago
idx-template.json Add IDX template configuration to Gemini samples (#2344) 4 months ago
idx-template.nix Add IDX template configuration to Gemini samples (#2344) 4 months ago
pubspec.yaml Bump `flutter_markdown` version to latest (#2339) 4 months ago

README.md

Flutter Dynamic Theme Sample

A developer sample demonstrating how to call on-device Flutter APIs based on output from the Gemini API. Allows the user to dynamically change font scale, colors, and other theme properties inside a running app using natural language.

Goals

  • Show how to use the Gemini API for a chat session.
  • Demonstrate how to use functions calls with the Gemini API.
  • Show how to tie responses from Gemini to specific local API calls.

Questions/issues

If you have a general question about any of the techniques you see in the sample, Flutter's open source community is a great place to find answers. You can find links to online and local groups at [https://flutter.dev/community]!

If you run into an issue with the sample itself, please file an issue in the main Flutter repo.