{"id":15442279,"url":"https://github.com/francis94c/sequence-aware-rich-text-renderer","last_synced_at":"2026-05-01T10:31:32.727Z","repository":{"id":257791531,"uuid":"861293138","full_name":"francis94c/sequence-aware-rich-text-renderer","owner":"francis94c","description":"An extended Flutter RichText widget that applies custom properties to the TextSpan of specified character sequences","archived":false,"fork":false,"pushed_at":"2025-04-10T02:52:07.000Z","size":625,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-24T15:20:51.749Z","etag":null,"topics":["flutter","render-currency","render-special-characters","richtext"],"latest_commit_sha":null,"homepage":"","language":"C++","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/francis94c.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-09-22T14:14:36.000Z","updated_at":"2025-04-10T02:50:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"d1eaa6c6-25cf-46f3-964a-285d56475a05","html_url":"https://github.com/francis94c/sequence-aware-rich-text-renderer","commit_stats":null,"previous_names":["francis94c/sequence-aware-rich-text-renderer"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/francis94c/sequence-aware-rich-text-renderer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francis94c%2Fsequence-aware-rich-text-renderer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francis94c%2Fsequence-aware-rich-text-renderer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francis94c%2Fsequence-aware-rich-text-renderer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francis94c%2Fsequence-aware-rich-text-renderer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/francis94c","download_url":"https://codeload.github.com/francis94c/sequence-aware-rich-text-renderer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francis94c%2Fsequence-aware-rich-text-renderer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["flutter","render-currency","render-special-characters","richtext"],"created_at":"2024-10-01T19:26:11.780Z","updated_at":"2026-05-01T10:31:32.718Z","avatar_url":"https://github.com/francis94c.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sequence-aware-rich-text-renderer\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![pub package](https://img.shields.io/pub/v/sequence_aware_rich_text_renderer.svg)](https://pub.dev/packages/sequence_aware_rich_text_renderer) [![test](https://github.com/francis94c/sequence-aware-rich-text-renderer/actions/workflows/test.yaml/badge.svg)](https://github.com/francis94c/sequence-aware-rich-text-renderer/actions/workflows/test.yaml) [![publish](https://github.com/francis94c/sequence-aware-rich-text-renderer/actions/workflows/publish.yaml/badge.svg)](https://github.com/francis94c/sequence-aware-rich-text-renderer/actions/workflows/publish.yaml) [![codecov](https://codecov.io/github/francis94c/sequence-aware-rich-text-renderer/graph/badge.svg?token=rlr85HxF5B)](https://codecov.io/github/francis94c/sequence-aware-rich-text-renderer)\n\nA RichText widget that allows you to break-down and customize certain parts of its content as spans just by specifying the actual segment or characters you want styled differently.\n\n\u003cdiv style=\"text-align: center;\"\u003e\n  \u003cimg src=\"https://github.com/francis94c/sequence-aware-rich-text-renderer/blob/master/screenshots/example.png?raw=true\"\u003e\n\u003c/div\u003e\n\n## Features\n\n- RichTextWidget.\n- Sequence JSON Serialization for dynamic styling and persistence.\n\n## Getting started\n\nRun\n\n```bash\nflutter pub add sequence-aware-rich-text-renderer\n```\n\n## Usage\n\nThe use case that inspired the creation of this package is about a problem with custom fonts that fail to support some characters like '₦' for example, but is supported by the native font being used by the application. I recon there are also other use cases where multiple font families have to be combined to produce some sort of visual effect.\n\nBelow is an example of how you'd typically use the widget this package provides, to solve the problem, or achieve what you have in mind.\n\nThis package was built with flexibility in mind and may be used beyond what I imagined it for.\n\nNevertheless, contributions are always welcome.\n\n```dart\nimport 'package:sequence_aware_rich_text_renderer/sequence_aware_rich_text_renderer.dart';\n.\n.\n.\nconst SequenceAwareRichText(\n    \"Please note that transactions below ₦5,000 will attract a service charge of ₦10, while transactions \"\n    \"above ₦5,000 will attract a service charge of ₦25.\",\n    sequences: [\n        Sequence(\n        '₦',\n        style: TextStyle(\n            color: Colors.red,\n            ),\n        ),\n    ],\n    style: TextStyle(\n        color: Colors.black,\n        fontFamily: 'DMSans',\n    ),\n);\n```\n\n**NB**: The `Sequence` object has toJson and fromJson methods for serialization and de-serialization.\n\n## Additional information\n\nPRs are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancis94c%2Fsequence-aware-rich-text-renderer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancis94c%2Fsequence-aware-rich-text-renderer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancis94c%2Fsequence-aware-rich-text-renderer/lists"}