{"id":16747915,"url":"https://github.com/amake/flutter_tex_js","last_synced_at":"2025-03-17T02:30:57.308Z","repository":{"id":54078292,"uuid":"278888786","full_name":"amake/flutter_tex_js","owner":"amake","description":"A lightweight TeX plugin for Flutter via JavaScript","archived":false,"fork":false,"pushed_at":"2025-01-18T08:58:04.000Z","size":2371,"stargazers_count":10,"open_issues_count":5,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T16:39:49.877Z","etag":null,"topics":["android","flutter","ios","katex","plugin","tex"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flutter_tex_js","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amake.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"amake"}},"created_at":"2020-07-11T15:27:35.000Z","updated_at":"2025-01-18T08:57:59.000Z","dependencies_parsed_at":"2024-10-27T11:52:24.798Z","dependency_job_id":"e032653e-ff80-4557-9a4c-e016598cf99e","html_url":"https://github.com/amake/flutter_tex_js","commit_stats":null,"previous_names":[],"tags_count":65,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2Fflutter_tex_js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2Fflutter_tex_js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2Fflutter_tex_js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amake%2Fflutter_tex_js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amake","download_url":"https://codeload.github.com/amake/flutter_tex_js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243836991,"owners_count":20355810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","flutter","ios","katex","plugin","tex"],"created_at":"2024-10-13T02:11:15.948Z","updated_at":"2025-03-17T02:30:56.827Z","avatar_url":"https://github.com/amake.png","language":"Dart","funding_links":["https://github.com/sponsors/amake"],"categories":[],"sub_categories":[],"readme":"# flutter_tex_js\n\nA lightweight TeX plugin for Flutter based on [KaTeX](https://katex.org/), a\npopular and full-featured JavaScript TeX rendering library.\n\n\u003cimg width=\"300\" src=\"https://pbs.twimg.com/media/EdiODWEVAAIZg9-?format=png\u0026name=4096x4096\"\u003e\n\n_flutter_tex_js used in [Orgro](https://orgro.org)_\n\n_See a [demo video](https://twitter.com/amadlonkay/status/1285937038840131584?s=20)_\n\n# What's different about this plugin?\n\nAs of July 2020, there are several other TeX packages/plugins for Flutter, but\nmost of them are either a) very heavyweight, relying on webview_flutter, or b)\nvery immature, with poor support for common TeX syntax.\n\nThis plugin seeks a middle ground: It uses a single native webview under the\nhood, in which it renders TeX markup to PNG. It then sends the PNG bytes back to\nthe Dart world where the result is displayed as an image.\n\n# Supported platforms\n\n- Android 4.1 (SDK 16) and higher\n- iOS 11 and higher*\n  - *You can include the plugin on iOS 9+, but it will only render on 11+. On\n    iOS 9 and 10, the `TexImage` widget will simply show the supplied text\n    as-is.\n\n# Setup\n\n## Android\n\nIf your app uses Kotlin, make sure it is v1.3.60 or later (see\n`ext.kotlin_version` in your `build.gradle` file). The default is v1.3.50, but\nthis has [known problems](https://github.com/amake/flutter_tex_js/issues/7), so\nif you have never updated your Kotlin version then please do so.\n\n## iOS\n\nNo setup required.\n\n# Usage\n\n```dart\nimport 'package:flutter_tex_js/flutter_tex_js.dart';\n\nclass MyMathWidget extends StatelessWidget {\n  Widget build(BuildContext context) {\n    return TexImage(r'a=\\pm\\sqrt{b^2+c^2} \\int_\\infty^\\beta d\\gamma');\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famake%2Fflutter_tex_js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famake%2Fflutter_tex_js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famake%2Fflutter_tex_js/lists"}