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
2022-12-17 12:22:48 +0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f10253de017a5f761879eef6c8d1a97594d9b748
f10253de
1 parent
49a65cb3
equeation alignment fixed
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
tex_text/CHANGELOG.md
tex_text/lib/tex_text.dart
tex_text/pubspec.yaml
tex_text/CHANGELOG.md
View file @
f10253d
## 0.0.3
*
Equation alignment fixed.
## 0.0.2
*
Improved documentation.
...
...
tex_text/lib/tex_text.dart
View file @
f10253d
...
...
@@ -7,15 +7,20 @@ export 'package:flutter_math_fork/flutter_math.dart';
/// A Calculator.
class
TexText
extends
StatelessWidget
{
const
TexText
(
this
.
text
,
{
super
.
key
,
this
.
style
,
this
.
mathStyle
=
MathStyle
.
display
});
{
super
.
key
,
this
.
style
,
this
.
mathStyle
=
MathStyle
.
display
,
this
.
alignment
=
WrapAlignment
.
start
});
final
String
text
;
final
TextStyle
?
style
;
final
MathStyle
mathStyle
;
final
WrapAlignment
alignment
;
@override
Widget
build
(
BuildContext
context
)
{
return
Wrap
(
alignment:
WrapAlignment
.
start
,
alignment:
alignment
,
crossAxisAlignment:
WrapCrossAlignment
.
center
,
spacing:
4
,
children:
text
.
split
(
"<m>"
)
...
...
tex_text/pubspec.yaml
View file @
f10253d
name
:
tex_text
description
:
This package for Flutter allows you to show text on a Flutter app with LaTex math formula and normal text from string. It is vary easy to use and works for all of the platforms.
version
:
0.0.
2
version
:
0.0.
3
homepage
:
https://github.com/saminsohag/flutter_packages/tree/main/tex_text
environment
:
...
...
Please
register
or
login
to post a comment