Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
gpt_markdown
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
saminsohag
2024-09-02 22:02:57 +0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8a38e02a1f8d401720141912fc7cfaa187809855
8a38e02a
1 parent
8b09f51d
fixed bullet color of unordered list
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
6 deletions
gpt_markdown/CHANGELOG.md
gpt_markdown/example/lib/main.dart
gpt_markdown/example/pubspec.lock
gpt_markdown/lib/markdown_component.dart
gpt_markdown/pubspec.yaml
gpt_markdown/CHANGELOG.md
View file @
8a38e02
## 0.1.8
*
unordered list bullet color fixed.
## 0.1.7
*
ordered list color fixed.
...
...
gpt_markdown/example/lib/main.dart
View file @
8a38e02
...
...
@@ -236,6 +236,7 @@ Markdown and LaTeX can be powerful tools for formatting text and mathematical ex
textScaler: const TextScaler.linear(1),
style: const TextStyle(
// Regular text font size here.
color: Colors.red,
fontSize: 15,
),
latexWorkaround: (tex) {
...
...
gpt_markdown/example/pubspec.lock
View file @
8a38e02
...
...
@@ -190,7 +190,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.
7
"
version: "0.1.
8
"
http:
dependency: transitive
description:
...
...
@@ -624,10 +624,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256:
f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
sha256:
"5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
version: "14.2.
4
"
version: "14.2.
5
"
watcher:
dependency: "direct main"
description:
...
...
gpt_markdown/lib/markdown_component.dart
View file @
8a38e02
...
...
@@ -355,9 +355,13 @@ class UnOrderedList extends BlockMd {
)
{
var
match
=
exp
.
firstMatch
(
text
);
return
UnorderedListView
(
bulletColor:
config
.
style
?.
color
,
bulletColor:
config
.
style
?.
color
??
DefaultTextStyle
.
of
(
context
).
style
.
color
,
padding:
10.0
,
bulletSize:
3
,
bulletSize:
0.2
*
(
config
.
style
?.
fontSize
??
DefaultTextStyle
.
of
(
context
).
style
.
fontSize
??
kDefaultFontSize
),
textDirection:
config
.
textDirection
,
child:
MdWidget
(
"
${match?[1]}
"
,
...
...
gpt_markdown/pubspec.yaml
View file @
8a38e02
name
:
gpt_markdown
description
:
"
The
purpose
of
this
package
is
to
render
the
response
of
ChatGPT
into
a
Flutter
app."
version
:
0.1.
7
version
:
0.1.
8
homepage
:
https://github.com/saminsohag/flutter_packages/tree/main/gpt_markdown
environment
:
...
...
Please
register
or
login
to post a comment