saminsohag

published ordered list color fixes

## 0.1.7
* ordered list color fixed.
## 0.1.6
* `overflow` perameter added.
... ...
... ... @@ -178,8 +178,8 @@ Markdown and LaTeX can be powerful tools for formatting text and mathematical ex
debugPrint(url);
debugPrint(title);
},
maxLines: 7,
overflow: TextOverflow.ellipsis,
// maxLines: 7,
// overflow: TextOverflow.ellipsis,
textAlign: TextAlign.justify,
// textScaler: const TextScaler.linear(1.3),
textScaler: const TextScaler.linear(1),
... ...
... ... @@ -182,7 +182,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.6"
version: "0.1.7"
http:
dependency: transitive
description:
... ...
... ... @@ -381,16 +381,14 @@ class OrderedList extends BlockMd {
final GptMarkdownConfig config,
) {
var match = exp.firstMatch(text.trim());
var conf = config.copyWith(
style: (config.style ?? const TextStyle())
.copyWith(fontWeight: FontWeight.w100));
return OrderedListView(
no: "${match?[1]}",
textDirection: config.textDirection,
style: conf.style,
style: (config.style ?? const TextStyle())
.copyWith(fontWeight: FontWeight.w100),
child: MdWidget(
"${match?[2]}",
config: conf,
config: config,
),
);
}
... ...
name: gpt_markdown
description: "The purpose of this package is to render the response of ChatGPT into a Flutter app."
version: 0.1.6
version: 0.1.7
homepage: https://github.com/saminsohag/flutter_packages/tree/main/gpt_markdown
environment:
... ...