Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
fanenr committed Nov 25, 2024
1 parent e4b9bbd commit 3f3447a
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
0.2.2 (2024-11-25)

* Add: Chat clone and clear functionality.
* Improve: More animations.

* 增加:对话复制和清空
* 改进:更多动画

0.2.1 (2024-11-23)

* Improve: The Reanswering can be stopped.
Expand Down
3 changes: 1 addition & 2 deletions lib/chat/message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
// You should have received a copy of the GNU General Public License
// along with ChatBot. If not, see <https://www.gnu.org/licenses/>.

import "package:flutter_spinkit/flutter_spinkit.dart";

import "chat.dart";
import "input.dart";
import "current.dart";
Expand All @@ -30,6 +28,7 @@ import "package:http/http.dart" as http;
import "package:langchain/langchain.dart";
import "package:markdown/markdown.dart" as md;
import "package:audioplayers/audioplayers.dart";
import "package:flutter_spinkit/flutter_spinkit.dart";
import "package:flutter_riverpod/flutter_riverpod.dart";
import "package:flutter_markdown/flutter_markdown.dart";
import "package:langchain_openai/langchain_openai.dart";
Expand Down
2 changes: 2 additions & 0 deletions lib/settings/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class ApisTab extends ConsumerWidget {
itemBuilder: (context, index) => Container(
margin: const EdgeInsets.only(top: 12),
child: OpenContainer(
transitionType: ContainerTransitionType.fade,
closedElevation: 0,
closedColor:
Theme.of(context).colorScheme.surfaceContainerHighest,
Expand All @@ -74,6 +75,7 @@ class ApisTab extends ConsumerWidget {
right: 16,
bottom: 16,
child: OpenContainer(
transitionType: ContainerTransitionType.fade,
closedElevation: 6,
closedColor: Colors.transparent,
closedShape: const RoundedRectangleBorder(
Expand Down
2 changes: 2 additions & 0 deletions lib/settings/bot.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class BotsTab extends ConsumerWidget {
itemBuilder: (context, index) => Container(
margin: const EdgeInsets.only(top: 12),
child: OpenContainer(
transitionType: ContainerTransitionType.fade,
closedElevation: 0,
closedColor:
Theme.of(context).colorScheme.surfaceContainerHighest,
Expand All @@ -71,6 +72,7 @@ class BotsTab extends ConsumerWidget {
right: 16,
bottom: 16,
child: OpenContainer(
transitionType: ContainerTransitionType.fade,
closedElevation: 6,
closedColor: Colors.transparent,
closedShape: const RoundedRectangleBorder(
Expand Down
8 changes: 8 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.6.1"
flutter_spinkit:
dependency: "direct main"
description:
name: flutter_spinkit
sha256: d2696eed13732831414595b98863260e33e8882fc069ee80ec35d4ac9ddb0472
url: "https://pub.dev"
source: hosted
version: "5.2.1"
flutter_svg:
dependency: transitive
description:
Expand Down
3 changes: 2 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: chatbot
version: 0.2.1+1
version: 0.2.2+1
description: ChatBot

environment:
Expand Down Expand Up @@ -28,6 +28,7 @@ dependencies:
animations: ^2.0.11
url_launcher: ^6.3.1
audioplayers: ^6.1.0
flutter_spinkit: ^5.2.1

markdown: ^7.2.2
flutter_markdown: ^0.7.4+2
Expand Down

0 comments on commit 3f3447a

Please sign in to comment.