Mzansi AI Thoughts Markdown

This commit is contained in:
2025-08-22 11:19:33 +02:00
parent 2126cfdf88
commit e4395a4d25
3 changed files with 43 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
import 'dart:async';
import 'dart:convert';
import 'package:flutter_speed_dial/flutter_speed_dial.dart';
import 'package:gpt_markdown/gpt_markdown.dart';
import 'package:mzansi_innovation_hub/main.dart';
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_icons.dart';
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
@@ -222,7 +223,7 @@ class _AiChatState extends State<AiChat> {
child: Column(
mainAxisSize: MainAxisSize.max,
children: [
Text(
GptMarkdown(
snapshot.requireData,
textAlign: TextAlign.left,
style: TextStyle(

View File

@@ -462,6 +462,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "6.0.0"
flutter_math_fork:
dependency: transitive
description:
name: flutter_math_fork
sha256: "6d5f2f1aa57ae539ffb0a04bb39d2da67af74601d685a161aff7ce5bda5fa407"
url: "https://pub.dev"
source: hosted
version: "0.7.4"
flutter_native_splash:
dependency: "direct main"
description:
@@ -624,6 +632,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "6.0.0"
gpt_markdown:
dependency: "direct main"
description:
name: gpt_markdown
sha256: "68d5337c8a00fc03a37dbddf84a6fd90401c30e99b6baf497ef9522a81fc34ee"
url: "https://pub.dev"
source: hosted
version: "1.1.2"
graphs:
dependency: transitive
description:
@@ -864,6 +880,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.1.0"
nested:
dependency: transitive
description:
name: nested
sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20"
url: "https://pub.dev"
source: hosted
version: "1.0.0"
ollama_dart:
dependency: "direct main"
description:
@@ -1024,6 +1048,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.1.0"
provider:
dependency: transitive
description:
name: provider
sha256: "4e82183fa20e5ca25703ead7e05de9e4cceed1fbd1eadc1ac3cb6f565a09f272"
url: "https://pub.dev"
source: hosted
version: "6.1.5+1"
pub_semver:
dependency: transitive
description:
@@ -1397,6 +1429,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.0.2"
tuple:
dependency: transitive
description:
name: tuple
sha256: a97ce2013f240b2f3807bcbaf218765b6f301c3eff91092bcfa23a039e7dd151
url: "https://pub.dev"
source: hosted
version: "2.0.2"
typed_data:
dependency: transitive
description:

View File

@@ -50,6 +50,7 @@ dependencies:
ken_logger: ^0.0.3
go_router: ^16.1.0
screen_brightness: ^2.1.6
gpt_markdown: ^1.1.2
dev_dependencies:
flutter_test: