1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Adds missing READMEs to dynamic_theme, gemini_tasks (#2288)

Adds `README.md` files to the dynamic_theme and gemini_tasks projects.
Also removes a block of commented-out code from one of them.
This commit is contained in:
Andrew Brogdon
2024-05-14 07:44:48 -07:00
committed by GitHub
parent 3172aff8f8
commit 8575261d37
3 changed files with 41 additions and 4 deletions

View File

@@ -172,10 +172,6 @@ class _ExampleState extends State<Example> {
loading.value = true;
try {
final prompt = StringBuffer();
// prompt.writeln(
// 'If the following is not a question assume'
// 'it is a new task to be added:',
// );
prompt.writeln(message);
final response = await callWithActions([Content.text(prompt.toString())]);
if (response.text != null) {