{"id":32287941,"url":"https://github.com/snipmedev/kode_view","last_synced_at":"2026-02-22T18:01:56.426Z","repository":{"id":262988708,"uuid":"707997504","full_name":"SnipMeDev/kode_view","owner":"SnipMeDev","description":"Flutter syntax highlighting widgets based on Highlights","archived":false,"fork":false,"pushed_at":"2024-11-22T12:30:41.000Z","size":366,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-22T13:27:41.276Z","etag":null,"topics":["code","edittext","flutter","syntax-highlighting","textview"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SnipMeDev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-10-21T07:51:32.000Z","updated_at":"2024-11-19T16:14:03.000Z","dependencies_parsed_at":"2024-11-15T13:17:39.429Z","dependency_job_id":"c7cbb86e-0126-44e6-a860-a0e061a93871","html_url":"https://github.com/SnipMeDev/kode_view","commit_stats":null,"previous_names":["snipmedev/kode_view"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SnipMeDev/kode_view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnipMeDev%2Fkode_view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnipMeDev%2Fkode_view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnipMeDev%2Fkode_view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnipMeDev%2Fkode_view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SnipMeDev","download_url":"https://codeload.github.com/SnipMeDev/kode_view/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnipMeDev%2Fkode_view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29721054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["code","edittext","flutter","syntax-highlighting","textview"],"created_at":"2025-10-23T02:20:39.763Z","updated_at":"2026-02-22T18:01:56.414Z","avatar_url":"https://github.com/SnipMeDev.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kode_view\n\nFlutter syntax highlighting widgets based on [Highlights](https://github.com/SnipMeDev/Highlights) library. \n\n\u003cimg width=\"1358\" alt=\"iShot_2024-11-18_21 55 36\" src=\"https://github.com/user-attachments/assets/066a248b-facc-40d1-b518-03ff92c8c847\"\u003e\n\n## Installation\n\n```dart\nflutter pub add kode_view\n```\n\n## Usage\n\n### CodeTextView\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:kode_view/kode_view.dart';\n\n@override\nWidget build(BuildContext context) {\n  final codeSnippet = \"class HelloWorld {}\";\n  \n  return MaterialApp(\n    home: Scaffold(\n      appBar: ...,\n      body: CodeTextView(\n        code: codeSnippet,\n        language: \"Java\",\n        theme: \"darcula\",\n        options: ...,\n      ),\n    ),\n  );\n}\n```\n\n### CodeEditText\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:kode_view/kode_view.dart';\n\nclass _MyAppState extends State\u003cMyApp\u003e {\n  final SyntaxHighlightingController controller =\n  SyntaxHighlightingController(text: codeSnippet);\n\n  @override\n  Widget build(BuildContext context) {\n    final codeSnippet = \"class HelloWorld {}\";\n\n    return MaterialApp(\n      home: Scaffold(\n        appBar: ...,\n        body: CodeEditText(\n          code: codeSnippet,\n          controller: controller,\n          showCursor: true,\n        ),\n      ),\n    );\n  }\n}\n\n```\n\n## Features\n- 17 supported languages (Kotlin, Dart, Swift, PHP, etc)\n- Light / dark mode\n- 6 built-in themes\n- Phrase bolding (emphasis)\n- Result caching and support for incremental changes\n\n## Support\n\n- Android ✅\n- iOS ✅\n- macOS 🔴 (Not yet)\n- Linux 🔴 (Not yet)\n- Windows 🔴 (Not yet)\n- Web 🔴 (Not yet)\n\nLicense 🖋️\n=======\n\n    Copyright 2024 Tomasz Kądziołka.\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnipmedev%2Fkode_view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnipmedev%2Fkode_view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnipmedev%2Fkode_view/lists"}