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
2023-05-18 11:32:34 +0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
240ece96528ab4a9eb1b7d6f214cdaea69e58392
240ece96
1 parent
1eb19092
dart 3 added
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
123 additions
and
158 deletions
tex_markdown/CHANGELOG.md
tex_markdown/example/macos/Podfile.lock
tex_markdown/example/pubspec.lock
tex_markdown/example/pubspec.yaml
tex_markdown/lib/md_widget.dart
tex_markdown/pubspec.yaml
tex_markdown/CHANGELOG.md
View file @
240ece9
## 0.1.8
*
Updated for flutter 3.10.0 and Dart 3.
## 0.1.7
*
Color bug fixed.
...
...
tex_markdown/example/macos/Podfile.lock
View file @
240ece9
...
...
@@ -10,7 +10,7 @@ PODS:
DEPENDENCIES:
- FlutterMacOS (from `Flutter/ephemeral`)
- path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/
macos
`)
- path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/
darwin
`)
- printing (from `Flutter/ephemeral/.symlinks/plugins/printing/macos`)
- url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)
...
...
@@ -18,7 +18,7 @@ EXTERNAL SOURCES:
FlutterMacOS:
:path: Flutter/ephemeral
path_provider_foundation:
:path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/
macos
:path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/
darwin
printing:
:path: Flutter/ephemeral/.symlinks/plugins/printing/macos
url_launcher_macos:
...
...
@@ -26,10 +26,10 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
path_provider_foundation:
c68054786f1b4f3343858c1e1d0caaded73f0be9
path_provider_foundation:
eaf5b3e458fc0e5fbb9940fb09980e853fe058b8
printing: 1dd6a1fce2209ec240698e2439a4adbb9b427637
url_launcher_macos: 5335912b679c073563f29d89d33d10d459f95451
PODFILE CHECKSUM: 353c8bcc5d5b0994e508d035b5431cfe18c1dea7
COCOAPODS: 1.12.
0
COCOAPODS: 1.12.
1
...
...
tex_markdown/example/pubspec.lock
View file @
240ece9
...
...
@@ -9,14 +9,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.3.7"
args:
dependency: transitive
description:
name: args
sha256: c372bb384f273f0c2a8aaaa226dad84dc27c8519a691b888725dec59518ad53a
url: "https://pub.dev"
source: hosted
version: "2.4.1"
async:
dependency: transitive
description:
name: async
sha256:
bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
sha256:
"947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.dev"
source: hosted
version: "2.1
0
.0"
version: "2.1
1
.0"
barcode:
dependency: transitive
description:
...
...
@@ -45,10 +53,10 @@ packages:
dependency: transitive
description:
name: characters
sha256:
e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
sha256:
"04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.dev"
source: hosted
version: "1.
2.1
"
version: "1.
3.0
"
clock:
dependency: transitive
description:
...
...
@@ -61,10 +69,10 @@ packages:
dependency: transitive
description:
name: collection
sha256:
cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
sha256:
"4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
url: "https://pub.dev"
source: hosted
version: "1.17.
0
"
version: "1.17.
1
"
convert:
dependency: transitive
description:
...
...
@@ -77,10 +85,10 @@ packages:
dependency: transitive
description:
name: crypto
sha256:
aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67
sha256:
ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab
url: "https://pub.dev"
source: hosted
version: "3.0.
2
"
version: "3.0.
3
"
cupertino_icons:
dependency: "direct main"
description:
...
...
@@ -101,10 +109,10 @@ packages:
dependency: transitive
description:
name: ffi
sha256:
a38574032c5f1dd06c4aee541789906c12ccaab8ba01446e800d9c5b79c4a978
sha256:
ed5337a5660c506388a9f012be0288fb38b49020ce2b45fe1f8b8323fe429f99
url: "https://pub.dev"
source: hosted
version: "2.0.
1
"
version: "2.0.
2
"
file:
dependency: transitive
description:
...
...
@@ -117,10 +125,10 @@ packages:
dependency: "direct main"
description:
name: file_picker
sha256:
b85eb92b175767fdaa0c543bf3b0d1f610fe966412ea72845fe5ba7801e763ff
sha256:
c7a8e25ca60e7f331b153b0cb3d405828f18d3e72a6fa1d9440c86556fffc877
url: "https://pub.dev"
source: hosted
version: "5.
2.1
0"
version: "5.
3.
0"
flutter:
dependency: "direct main"
description: flutter
...
...
@@ -146,26 +154,26 @@ packages:
dependency: transitive
description:
name: flutter_math_fork
sha256:
fa511bdcb91fc35eac155ec5790883886dd9de6572fea549f1ad4660ef6804e9
sha256:
a143a3a89131b578043ecbdb5e759c1033a1b3e9174f5cd1b979d93f4a7fb41c
url: "https://pub.dev"
source: hosted
version: "0.
6.3+
1"
version: "0.
7.
1"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
name: flutter_plugin_android_lifecycle
sha256:
c224ac897bed083dabf11f238dd11a239809b446740be0c2044608c50029ffdf
sha256:
"96af49aa6b57c10a312106ad6f71deed5a754029c24789bbf620ba784f0bd0b0"
url: "https://pub.dev"
source: hosted
version: "2.0.
9
"
version: "2.0.
14
"
flutter_svg:
dependency: transitive
description:
name: flutter_svg
sha256:
"6ff9fa12892ae074092de2fa6a9938fb21dbabfdaa2ff57dc697ff912fc8d4b2"
sha256:
f991fdb1533c3caeee0cdc14b04f50f0c3916f0dbcbc05237ccbe4e3c6b93f3f
url: "https://pub.dev"
source: hosted
version: "
1.1.6
"
version: "
2.0.5
"
flutter_test:
dependency: "direct dev"
description: flutter
...
...
@@ -180,10 +188,10 @@ packages:
dependency: transitive
description:
name: http
sha256: "
6aa2946395183537c8b880962d935877325d6a09a2867c3970c05c0fed6ac48
2"
sha256: "
5895291c13fa8a3bd82e76d5627f69e0d85ca6a30dcac95c4ea19a5d555879c
2"
url: "https://pub.dev"
source: hosted
version: "0.13.
5
"
version: "0.13.
6
"
http_parser:
dependency: transitive
description:
...
...
@@ -196,34 +204,34 @@ packages:
dependency: transitive
description:
name: image
sha256:
"483a389d6ccb292b570c31b3a193779b1b0178e7eb571986d9a49904b6861227"
sha256:
a72242c9a0ffb65d03de1b7113bc4e189686fc07c7147b8b41811d0dd0e0d9bf
url: "https://pub.dev"
source: hosted
version: "4.0.1
5
"
version: "4.0.1
7
"
js:
dependency: transitive
description:
name: js
sha256:
"5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
sha256:
f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
url: "https://pub.dev"
source: hosted
version: "0.6.
5
"
version: "0.6.
7
"
lints:
dependency: transitive
description:
name: lints
sha256: "
5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593
"
sha256: "
6b0206b0bf4f04961fc5438198ccb3a885685cd67d4d4a32cc20ad7f8adbe015
"
url: "https://pub.dev"
source: hosted
version: "2.
0.1
"
version: "2.
1.0
"
matcher:
dependency: transitive
description:
name: matcher
sha256: "
16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72
"
sha256: "
6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb
"
url: "https://pub.dev"
source: hosted
version: "0.12.1
3
"
version: "0.12.1
5
"
material_color_utilities:
dependency: transitive
description:
...
...
@@ -236,10 +244,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "
6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42
"
sha256: "
3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3
"
url: "https://pub.dev"
source: hosted
version: "1.
8.0
"
version: "1.
9.1
"
nested:
dependency: transitive
description:
...
...
@@ -252,18 +260,10 @@ packages:
dependency: transitive
description:
name: path
sha256:
db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
sha256:
"8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
url: "https://pub.dev"
source: hosted
version: "1.8.2"
path_drawing:
dependency: transitive
description:
name: path_drawing
sha256: bbb1934c0cbb03091af082a6389ca2080345291ef07a5fa6d6e078ba8682f977
url: "https://pub.dev"
source: hosted
version: "1.0.1"
version: "1.8.3"
path_parsing:
dependency: transitive
description:
...
...
@@ -276,26 +276,26 @@ packages:
dependency: "direct main"
description:
name: path_provider
sha256:
c7edf82217d4b2952b2129a61d3ad60f1075b9299e629e149a8d2e39c2e6aad4
sha256:
"3087813781ab814e4157b172f1a11c46be20179fcc9bea043e0fba36bc0acaa2"
url: "https://pub.dev"
source: hosted
version: "2.0.1
4
"
version: "2.0.1
5
"
path_provider_android:
dependency: transitive
description:
name: path_provider_android
sha256:
da97262be945a72270513700a92b39dd2f4a54dad55d061687e2e37a6390366a
sha256:
"2cec049d282c7f13c594b4a73976b0b4f2d7a1838a6dd5aaf7bd9719196bee86"
url: "https://pub.dev"
source: hosted
version: "2.0.2
5
"
version: "2.0.2
7
"
path_provider_foundation:
dependency: transitive
description:
name: path_provider_foundation
sha256:
ad4c4d011830462633f03eb34445a45345673dfd4faf1ab0b4735fbd93b19183
sha256:
"1995d88ec2948dac43edf8fe58eb434d35d22a2940ecee1a9fefcd62beee6eb3"
url: "https://pub.dev"
source: hosted
version: "2.2.
2
"
version: "2.2.
3
"
path_provider_linux:
dependency: transitive
description:
...
...
@@ -316,18 +316,26 @@ packages:
dependency: transitive
description:
name: path_provider_windows
sha256:
f53720498d5a543f9607db4b0e997c4b5438884de25b0f73098cc2671a51b130
sha256:
d3f80b32e83ec208ac95253e0cd4d298e104fbc63cb29c5c69edaed43b0c69d6
url: "https://pub.dev"
source: hosted
version: "2.1.
5
"
version: "2.1.
6
"
pdf:
dependency: "direct main"
description:
name: pdf
sha256: "
586d3debf5432e5377044754032cfa53ab45e9abf371d4865e9ad5019570e246
"
sha256: "
70d84154dc5b6ddf28eee6c012510a4cbbebb3a1879c0957e05364a95e8f3832
"
url: "https://pub.dev"
source: hosted
version: "3.10.1"
version: "3.10.3"
pdf_widget_wrapper:
dependency: transitive
description:
name: pdf_widget_wrapper
sha256: e9d31fd7782ce28ae346b127ea7d1cd748d799bddee379f31191693610e23749
url: "https://pub.dev"
source: hosted
version: "1.0.1"
permission_handler:
dependency: "direct main"
description:
...
...
@@ -340,10 +348,10 @@ packages:
dependency: transitive
description:
name: permission_handler_android
sha256:
"8028362b40c4a45298f1cbfccd227c8dd6caf0e27088a69f2ba2ab15464159e2"
sha256:
d8cc6a62ded6d0f49c6eac337e080b066ee3bce4d405bd9439a61e1f1927bfe8
url: "https://pub.dev"
source: hosted
version: "10.2.
0
"
version: "10.2.
1
"
permission_handler_apple:
dependency: transitive
description:
...
...
@@ -372,10 +380,10 @@ packages:
dependency: transitive
description:
name: petitparser
sha256:
"49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4"
sha256:
cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750
url: "https://pub.dev"
source: hosted
version: "5.
1
.0"
version: "5.
4
.0"
platform:
dependency: transitive
description:
...
...
@@ -404,10 +412,10 @@ packages:
dependency: "direct main"
description:
name: printing
sha256:
c5c19dd852e95aa140141df13fa304f079a20c4a14a66de5275a0f811240aeec
sha256:
"6aa86779d51f1c60608defee7b231e1133ab9b00f63b3b71abfa85cb39898571"
url: "https://pub.dev"
source: hosted
version: "5.10.
3
"
version: "5.10.
4
"
process:
dependency: transitive
description:
...
...
@@ -481,25 +489,25 @@ packages:
dependency: transitive
description:
name: test_api
sha256:
ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
sha256:
eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
url: "https://pub.dev"
source: hosted
version: "0.
4.16
"
version: "0.
5.1
"
tex_markdown:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "0.1.
7
"
version: "0.1.
8
"
tex_text:
dependency: transitive
description:
name: tex_text
sha256:
"67e06376b479ab48e8cb2b49e6eafc57f830976bc25bdf791ded089ac989937c"
sha256:
d970cdcf16fb38b28f16b6118853434703191c9757117bc264c43c212d554949
url: "https://pub.dev"
source: hosted
version: "0.1.
7
"
version: "0.1.
8
"
tuple:
dependency: transitive
description:
...
...
@@ -512,26 +520,26 @@ packages:
dependency: transitive
description:
name: typed_data
sha256:
"26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5"
sha256:
facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
url: "https://pub.dev"
source: hosted
version: "1.3.
1
"
version: "1.3.
2
"
url_launcher:
dependency: "direct main"
description:
name: url_launcher
sha256:
"75f2846facd11168d007529d6cd8fcb2b750186bea046af9711f10b907e1587e"
sha256:
eb1e00ab44303d50dd487aab67ebc575456c146c6af44422f9c13889984c00f3
url: "https://pub.dev"
source: hosted
version: "6.1.1
0
"
version: "6.1.1
1
"
url_launcher_android:
dependency: transitive
description:
name: url_launcher_android
sha256:
a52628068d282d01a07cd86e6ba99e497aa45ce8c91159015b2416907d78e411
sha256:
"1a5848f598acc5b7d8f7c18b8cb834ab667e59a13edc3c93e9d09cf38cc6bc87"
url: "https://pub.dev"
source: hosted
version: "6.0.
27
"
version: "6.0.
34
"
url_launcher_ios:
dependency: transitive
description:
...
...
@@ -544,10 +552,10 @@ packages:
dependency: transitive
description:
name: url_launcher_linux
sha256: "20
6fb8334a700ef7754d6a9ed119e7349bc830448098f21a69bf1b4ed038cabc
"
sha256: "20
7f4ddda99b95b4d4868320a352d374b0b7e05eefad95a4a26f57da413443f5
"
url: "https://pub.dev"
source: hosted
version: "3.0.
4
"
version: "3.0.
5
"
url_launcher_macos:
dependency: transitive
description:
...
...
@@ -576,10 +584,34 @@ packages:
dependency: transitive
description:
name: url_launcher_windows
sha256:
a83ba3607a507758669cfafb03f9de09bf6e6280c14d9b9cb18f013e406dcacd
sha256:
"254708f17f7c20a9c8c471f67d86d76d4a3f9c1591aad1e15292008aceb82771"
url: "https://pub.dev"
source: hosted
version: "3.0.5"
version: "3.0.6"
vector_graphics:
dependency: transitive
description:
name: vector_graphics
sha256: "59a230f8bf37dd8b077335d1d64d895bccef0fb14f50730e3d79e8990bf3ed2b"
url: "https://pub.dev"
source: hosted
version: "1.1.5+1"
vector_graphics_codec:
dependency: transitive
description:
name: vector_graphics_codec
sha256: "40781fe91c6d10a617c0289f7ec16cdb2d85a7f3654af2778c6d0adbf3bf45a3"
url: "https://pub.dev"
source: hosted
version: "1.1.5+1"
vector_graphics_compiler:
dependency: transitive
description:
name: vector_graphics_compiler
sha256: "6ca1298b70edcc3486fdb14032f1a186a593f1b5f6b5e82fb10febddcb1c61bb"
url: "https://pub.dev"
source: hosted
version: "1.1.5+1"
vector_math:
dependency: transitive
description:
...
...
@@ -592,10 +624,10 @@ packages:
dependency: transitive
description:
name: win32
sha256:
a6f0236dbda0f63aa9a25ad1ff9a9d8a4eaaa5012da0dc59d21afdb1dc361ca4
sha256:
"5a751eddf9db89b3e5f9d50c20ab8612296e4e8db69009788d6c8b060a84191c"
url: "https://pub.dev"
source: hosted
version: "
3
.1.4"
version: "
4
.1.4"
xdg_directories:
dependency: transitive
description:
...
...
@@ -608,10 +640,10 @@ packages:
dependency: transitive
description:
name: xml
sha256:
ac0e3f4bf00ba2708c33fbabbbe766300e509f8c82dbd4ab6525039813f7e2fb
sha256:
"5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84"
url: "https://pub.dev"
source: hosted
version: "6.
1
.0"
version: "6.
3
.0"
sdks:
dart: ">=2.18.6 <3.0.0"
flutter: ">=3.7.0"
dart: ">=3.0.0 <4.0.0"
flutter: ">=3.9.0"
...
...
tex_markdown/example/pubspec.yaml
View file @
240ece9
name
:
example
description
:
A new Flutter project.
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to
:
'
none'
# Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version
:
1.0.0+1
environment
:
sdk
:
'
>=2.18.6
<3.0.0'
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
sdk
:
'
>=2.18.6
<4.0.0'
dependencies
:
flutter
:
sdk
:
flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons
:
^1.0.2
tex_markdown
:
path
:
../../tex_markdown
...
...
@@ -49,52 +24,6 @@ dependencies:
dev_dependencies
:
flutter_test
:
sdk
:
flutter
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints
:
^2.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter packages.
flutter
:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design
:
true
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
uses-material-design
:
true
\ No newline at end of file
...
...
tex_markdown/lib/md_widget.dart
View file @
240ece9
...
...
@@ -56,7 +56,7 @@ $value
TextSpan
(
text:
"
\n\n
"
,
style:
TextStyle
(
fontSize:
1
6
,
fontSize:
6
,
color:
style
?.
color
,
),
),
...
...
tex_markdown/pubspec.yaml
View file @
240ece9
name
:
tex_markdown
description
:
This package is used to create flutter widget that can render markdown and latex formulas. It is very simple to use and uses native flutter components.
version
:
0.1.
7
version
:
0.1.
8
homepage
:
https://github.com/saminsohag/flutter_packages/tree/main/tex_markdown
environment
:
sdk
:
'
>=2.18.6
<
3
.0.0'
sdk
:
'
>=2.18.6
<
4
.0.0'
flutter
:
"
>=1.17.0"
dependencies
:
flutter
:
sdk
:
flutter
tex_text
:
^0.1.
7
tex_text
:
^0.1.
8
dev_dependencies
:
flutter_test
:
...
...
Please
register
or
login
to post a comment