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
SUY
2024-02-21 11:30:56 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
77493f1a813acee711111459fca1572537157570
77493f1a
1 parent
ff7dae8e
Add codeBuilder to TexMarkdown
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
gpt_markdown/lib/gpt_markdown.dart
gpt_markdown/lib/gpt_markdown.dart
View file @
77493f1
...
...
@@ -17,6 +17,7 @@ class TexMarkdown extends StatelessWidget {
this
.
textScaleFactor
,
this
.
onLinkTab
,
this
.
latexBuilder
,
this
.
codeBuilder
,
});
final
TextDirection
textDirection
;
final
String
data
;
...
...
@@ -27,6 +28,7 @@ class TexMarkdown extends StatelessWidget {
final
String
Function
(
String
tex
)?
latexWorkaround
;
final
Widget
Function
(
BuildContext
context
,
String
tex
)?
latexBuilder
;
final
bool
followLinkColor
;
final
Widget
Function
(
BuildContext
context
,
String
tex
)?
codeBuilder
;
@override
Widget
build
(
BuildContext
context
)
{
...
...
@@ -62,6 +64,7 @@ class TexMarkdown extends StatelessWidget {
followLinkColor:
followLinkColor
,
latexWorkaround:
latexWorkaround
,
latexBuilder:
latexBuilder
,
codeBuilder:
codeBuilder
,
));
}
}
...
...
Please
register
or
login
to post a comment