From be23051e10c4694271370bc16bc0ef49409fdecc Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Tue, 14 May 2024 10:39:49 -0700 Subject: [PATCH] Update pubspec.yaml (#163) * Update pubspec.yaml * fix a deprecation message --- pkgs/google_generative_ai/pubspec.yaml | 2 +- samples/flutter_app/lib/main.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/google_generative_ai/pubspec.yaml b/pkgs/google_generative_ai/pubspec.yaml index f05e354..156aec3 100644 --- a/pkgs/google_generative_ai/pubspec.yaml +++ b/pkgs/google_generative_ai/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.4.1-wip description: >- The Google AI Dart SDK enables developers to use Google's state-of-the-art generative AI models (like Gemini). -repository: https://github.com/google/generative-ai-dart/tree/main/pkgs/google_generative_ai +repository: https://github.com/google-gemini/generative-ai-dart/tree/main/pkgs/google_generative_ai environment: sdk: ^3.0.0 diff --git a/samples/flutter_app/lib/main.dart b/samples/flutter_app/lib/main.dart index 9583a31..613ee4b 100644 --- a/samples/flutter_app/lib/main.dart +++ b/samples/flutter_app/lib/main.dart @@ -354,7 +354,7 @@ class MessageWidget extends StatelessWidget { decoration: BoxDecoration( color: isFromUser ? Theme.of(context).colorScheme.primaryContainer - : Theme.of(context).colorScheme.surfaceVariant, + : Theme.of(context).colorScheme.surfaceContainerHighest, borderRadius: BorderRadius.circular(18), ), padding: const EdgeInsets.symmetric(