{"id":23480493,"url":"https://github.com/yelmuratoff/rtf_textfield","last_synced_at":"2026-03-05T08:02:40.325Z","repository":{"id":239142082,"uuid":"755760274","full_name":"yelmuratoff/rtf_textfield","owner":"yelmuratoff","description":"Flutter custom widget to create Rich TextField. It includes textspan for hint, label. Control the text style with RTFTextFieldController.","archived":false,"fork":false,"pushed_at":"2024-02-11T00:42:55.000Z","size":308,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T08:47:58.735Z","etag":null,"topics":["dart","flutter","rich","rich-editor","rich-text","rich-text-editor","rich-textfield","rtf","textfield"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/rtf_textfield","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yelmuratoff.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":"2024-02-11T00:41:24.000Z","updated_at":"2025-06-24T10:01:37.000Z","dependencies_parsed_at":"2024-05-10T09:50:33.052Z","dependency_job_id":null,"html_url":"https://github.com/yelmuratoff/rtf_textfield","commit_stats":null,"previous_names":["yelmuratoff/rtf_textfield","k1yoshisho/rtf_textfield"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yelmuratoff/rtf_textfield","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yelmuratoff%2Frtf_textfield","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yelmuratoff%2Frtf_textfield/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yelmuratoff%2Frtf_textfield/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yelmuratoff%2Frtf_textfield/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yelmuratoff","download_url":"https://codeload.github.com/yelmuratoff/rtf_textfield/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yelmuratoff%2Frtf_textfield/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281930854,"owners_count":26585787,"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","status":"online","status_checked_at":"2025-10-31T02:00:07.401Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dart","flutter","rich","rich-editor","rich-text","rich-text-editor","rich-textfield","rtf","textfield"],"created_at":"2024-12-24T20:14:44.710Z","updated_at":"2025-10-31T04:30:55.287Z","avatar_url":"https://github.com/yelmuratoff.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/K1yoshiSho/rtf_textfield\" align=\"center\"\u003e\n        \u003cimg src=\"https://github.com/K1yoshiSho/rtf_textfield/blob/main/assets/images/rich_text_field.png?raw=true\" width=\"400px\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n\u003ch2 align=\"center\"\u003e Flutter custom widget to create Rich TextField 🚀 \u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\nIncluded RTFTextFieldController for customize text, hint and label TextSpan 😊\n   \u003cbr\u003e\n   \u003cspan style=\"font-size: 0.9em\"\u003e Show some ❤️ and \u003ca href=\"https://github.com/K1yoshiSho/rtf_textfield.git\"\u003estar the repo\u003c/a\u003e to support the project! \u003c/span\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pub.dev/packages/rtf_textfield\"\u003e\u003cimg src=\"https://img.shields.io/pub/v/rtf_textfield.svg\" alt=\"Pub\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License: MIT\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/K1yoshiSho/rtf_textfield\"\u003e\u003cimg src=\"https://hits.dwyl.com/K1yoshiSho/rtf_textfield.svg?style=flat\" alt=\"Repository views\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/K1yoshiSho/rtf_textfield\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/K1yoshiSho/rtf_textfield?style=social\" alt=\"Pub\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pub.dev/packages/rtf_textfield/score\"\u003e\u003cimg src=\"https://img.shields.io/pub/likes/rtf_textfield?logo=flutter\" alt=\"Pub likes\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pub.dev/packages/rtf_textfield/score\"\u003e\u003cimg src=\"https://img.shields.io/pub/popularity/rtf_textfield?logo=flutter\" alt=\"Pub popularity\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pub.dev/packages/rtf_textfield/score\"\u003e\u003cimg src=\"https://img.shields.io/pub/points/rtf_textfield?logo=flutter\" alt=\"Pub points\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n## 📌 Features\n\n- ✅ Customizable hint\n- ✅ Customizable label\n- ✅ Data serialization *(Store and fetch styled text in JSON format)*\n- ✅ Customizable text features with `RTFTextFieldController` *(change color, style, size, wight, etc.)*\n\n## 📌 Getting Started\nFollow these steps to use this package\n\n### Add dependency\n\n```yaml\ndependencies:\n  rtf_textfield: ^1.0.1\n```\n\n### Add import package\n\n```dart\nimport 'package:rtf_textfield/rtf_textfield.dart';\n```\n\n### Easy to use\nSimple example of use `RTFTextField`\u003cbr\u003e\nPut this code in your project at an screen and learn how it works 😊\n\n\u003cdiv style=\"display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start;\"\u003e\n  \u003cimg src=\"https://github.com/K1yoshiSho/rtf_textfield/blob/main/assets/images/screenshot1.png?raw=true\" \n  alt=\"Screenshot\" width=\"250\" style=\"margin-right: 10px;\"/\u003e\n    \u003cimg src=\"https://github.com/K1yoshiSho/rtf_textfield/blob/main/assets/images/screenshot2.png?raw=true\" \n  alt=\"Screenshot\" width=\"250\" style=\"margin-right: 10px;\"/\u003e\n      \u003cimg src=\"https://github.com/K1yoshiSho/rtf_textfield/blob/main/assets/images/screenshot3.png?raw=true\" \n  alt=\"Screenshot\" width=\"250\" style=\"margin-right: 10px;\"/\u003e\n\u003c/div\u003e\n\n\u0026nbsp;\n\nWidget part:\n```dart\nRTFTextField(\n   onTapOutside: (event) {\n      FocusManager.instance.primaryFocus?.unfocus();\n   },\n   decoration: const RichInputDecoration(\n      border: OutlineInputBorder(\n      borderRadius: BorderRadius.all(Radius.circular(16)),\n   ),\n      enabledBorder: OutlineInputBorder(\n         borderSide: BorderSide(\n            color: Colors.grey,\n         ),\n         borderRadius: BorderRadius.all(Radius.circular(16)),\n      ),\n      labelTextSpan: TextSpan(\n         text: 'Enter your name',\n         children: [\n            TextSpan(\n               text: ' *',\n               style: TextStyle(\n                  color: Colors.red,\n               ),\n            ),\n         ],\n      ),\n      hintTextSpan: TextSpan(\n         text: 'Yelaman',\n         ),\n      ),\n   controller: controller,\n),\n```\n\nChange text weight using `RTFTextFieldController`:\n\n```dart\ncontroller.toggleBold();\n```\n\n\n### 📌 Examples\nYou can check more examples of using this package [here](example/lib)\n\n\u003cbr\u003e\n\u003cdiv align=\"center\" \u003e\n  \u003cp\u003eThanks to all contributors of this package\u003c/p\u003e\n  \u003ca href=\"https://github.com/K1yoshiSho/rtf_textfield/graphs/contributors\"\u003e\n    \u003cimg src=\"https://contrib.rocks/image?repo=K1yoshiSho/rtf_textfield\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyelmuratoff%2Frtf_textfield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyelmuratoff%2Frtf_textfield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyelmuratoff%2Frtf_textfield/lists"}