saminsohag

Update version to 1.0.15, improve performance, and enhance unOrderedListBuilder …

…functionality for better list rendering.
## 1.0.15
* Performance improvements.
## 1.0.14
* Added `orderedListBuilder` and `unOrderedListBuilder` parameters to customize list rendering.
... ...
... ... @@ -2,7 +2,7 @@ part of 'gpt_markdown.dart';
/// Markdown components
abstract class MarkdownComponent {
static List<MarkdownComponent> get components => [
static final List<MarkdownComponent> components = [
CodeBlockMd(),
NewLines(),
IndentMd(),
... ... @@ -332,7 +332,11 @@ class UnOrderedList extends BlockMd {
var child = MdWidget("${match?[1]?.trim()}", config: config);
return config.unOrderedListBuilder?.call(context, child, config) ??
return config.unOrderedListBuilder?.call(
context,
child,
config.copyWith(),
) ??
UnorderedListView(
bulletColor:
(config.style?.color ?? DefaultTextStyle.of(context).style.color),
... ...
name: gpt_markdown
description: "Powerful Markdown & LaTeX Renderer for Flutter: Rich Text, Math, Tables, Links, and Text Selection. Ideal for ChatGPT, Gemini, and more."
version: 1.0.14
version: 1.0.15
homepage: https://github.com/Infinitix-LLC/gpt_markdown
environment:
... ...