Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Flutter sample #8

Merged
merged 18 commits into from
Jan 26, 2024
Merged

Add Flutter sample #8

merged 18 commits into from
Jan 26, 2024

Conversation

johnpryan
Copy link
Collaborator

This adds a Flutter sample app that uses the ChatSession API.

Screenshot 2024-01-24 at 11 59 31 AM

cc: @anderdobo @devoncarew

This adds a chat application sample to a new directory, flutter_sample.
@johnpryan johnpryan requested a review from natebosch January 24, 2024 20:00
README.md Outdated Show resolved Hide resolved
samples/flutter/README.md Outdated Show resolved Hide resolved
samples/flutter/lib/main.dart Outdated Show resolved Hide resolved
samples/flutter/pubspec.yaml Outdated Show resolved Hide resolved
samples/flutter/pubspec.yaml Outdated Show resolved Hide resolved
// limitations under the License.

import 'package:flutter/material.dart';
import 'package:google_generative_ai/google_generative_ai.dart' hide Text;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @natebosch we might want to consider hiding the Text class or renaming it, it conflicts with the Text widget from the Flutter SDK.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#11

@johnpryan
Copy link
Collaborator Author

@natebosch @devoncarew This should be ready for another look

Copy link
Collaborator

@devoncarew devoncarew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments; lgtm for my part but will leave the review for Nate.

.github/workflows/flutter_sample.yml Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
samples/flutter_app/README.md Show resolved Hide resolved
samples/flutter_app/lib/main.dart Outdated Show resolved Hide resolved
@johnpryan johnpryan merged commit 55e6c9f into main Jan 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants