-
Notifications
You must be signed in to change notification settings - Fork 117
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
Conversation
This adds a chat application sample to a new directory, flutter_sample.
samples/flutter_app/lib/main.dart
Outdated
// limitations under the License. | ||
|
||
import 'package:flutter/material.dart'; | ||
import 'package:google_generative_ai/google_generative_ai.dart' hide Text; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@natebosch @devoncarew This should be ready for another look |
There was a problem hiding this 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.
Co-authored-by: Devon Carew <[email protected]>
Co-authored-by: Devon Carew <[email protected]>
Co-authored-by: Devon Carew <[email protected]>
Co-authored-by: Nate Bosch <[email protected]>
This adds a Flutter sample app that uses the ChatSession API.
cc: @anderdobo @devoncarew