Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@ Googler's, you can freely add samples to the [flutter/demos] repository.

### Quickstarts

* [`asset_transformation`] - Demonstrates how to transform images' color scales and formats.
* [`asset_transformation`] - Demonstrates how to transform images' color scales and formats.
* [`background_isolate_channels`] - Demonstrates how to use long-lived isolates.
* [`code_sharing`] - Demonstrates how to share business logic between Flutter client and Dart server using [`package:shelf`] )
* [`context_menus`] - This sample shows how to create and customize cross-platform context menus, such as the text selection toolbar on mobile or the right click menu on desktop.
* [`desktop_photo_search`] - Demonstrates desktop features in both Material and FluentUI design systems.
* [`dynamic_theme`] - A developer sample demonstrating how to call on-device Flutter APIs based on output from the Gemini API.
* [`form_app`] - A sample demonstrating different types of forms and best practices.
* [`game_template`] - (**note: deprecated!**) A starter game in Flutter with all the bells and whistles of a mobile (iOS & Android) game.
* [`gemini_tasks`] - A developer sample written in Flutter demonstrating how to interact with a to-do list in natural language using the Gemini API.
* [`google_maps`] - Demonstrates the Google Maps for Flutter plugin.
* [`infinite_list`] - A Flutter sample app that shows an implementation of the "infinite list" UX pattern.
* [`isolate_example`] - A sample application that demonstrate best practices when using [isolates].
Expand Down Expand Up @@ -78,10 +77,10 @@ Googler's, you can freely add samples to the [flutter/demos] repository.

## Flutter sample code

Samples are **correct and concise code** that developers
can **quickly understand** and **easily reuse** with minimal side effects.
Samples teach developers how to be successful using Flutter and Dart.
They are maintained on an ongoing basis
Samples are **correct and concise code** that developers
can **quickly understand** and **easily reuse** with minimal side effects.
Samples teach developers how to be successful using Flutter and Dart.
They are maintained on an ongoing basis
to reflect changing APIs and best practices.

### Types of samples
Expand All @@ -90,18 +89,18 @@ There are two types of sample code in this repository:

* **Quickstarts** provide a starting point to extend. They answer the question,
"What is the minimal amount of code needed to implement this feature?"
* **Demo apps** are meant to be built and ran. They demo the _product_,
* **Demo apps** are meant to be built and ran. They demo the _product_,
not how to write code.

A majority of samples in this repository are quickstarts.

## Usage

Every sample in this repo is fully runnable. To run an example,
use `flutter run` inside that example's directory.
Every sample in this repo is fully runnable. To run an example,
use `flutter run` inside that example's directory.
See the [getting started guide] to install the `flutter` tool.

> [!IMPORTANT]
> [!IMPORTANT]
> If you want to run an add-to-app sample, there are additional requirements.
> We suggest reading the [add-to-app documentation].

Expand Down Expand Up @@ -129,7 +128,6 @@ If you run into a bug in one of the samples, please file an issue in the
[`dynamic_theme`]: ./dynamic_theme
[`form_app`]: ./form_app
[`game_template`]: ./game_template
[`gemini_tasks`]: ./gemini_tasks
[`google_maps`]: ./google_maps
[`infinite_list`]: ./infinite_list
[`isolate_example`]: ./isolate_example
Expand Down
5 changes: 2 additions & 3 deletions ai_recipe_generation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ we don't maintain samples that are tied to events.

This sample has been copied to [another repository](https://github.com/ericwindmill/gemini_recipe_generation). It will not be updated to reflect changes to Gemini.

## Other Gemini resources
## Other Gemini resources

The following resources can assist you in integrating Gemini with Flutter:

* [gemini_tasks sample](https://github.com/flutter/samples/tree/main/gemini_tasks) is a Gemini sample in this repository.
* [google_generative_ai package](https://pub.dev/packages/google_generative_ai) is the package that Flutter apps use to integrate with gemini, and it has additional samples.
* The [google-gemini github](https://github.com/google-gemini) has additional Flutter samples.
* The [google-gemini github](https://github.com/google-gemini) has additional Flutter samples.
43 changes: 0 additions & 43 deletions gemini_tasks/.gitignore

This file was deleted.

62 changes: 0 additions & 62 deletions gemini_tasks/.idx/dev.nix

This file was deleted.

45 changes: 0 additions & 45 deletions gemini_tasks/.metadata

This file was deleted.

32 changes: 0 additions & 32 deletions gemini_tasks/CONTRIBUTING.md

This file was deleted.

Loading
Loading