FLUTTER ECOSYSTEM

re_highlight

Re-Highlight is a powerful text syntax highlighting library.

re_highlight cover
Latest version
0.0.3
30-day downloads
67.2K
Likes
24
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Re-Highlight is a robust Flutter library designed for syntax highlighting in text, supporting multiple programming languages across all major platforms. It enables developers to render code with accurate colorization and formatting, enhancing readability in code editors, documentation displays, or educational apps. Built with performance and customization in mind, it integrates seamlessly into Flutter projects via a simple package addition. The library leverages efficient parsing and supports dynamic theme updates, making it ideal for real-time code rendering.

Use cases
  • Code editor widgets
  • Documentation viewers
  • Educational coding apps
  • Live code previews
  • Syntax-aware text displays
Key features
  • Multi-language support
  • Customizable themes
  • Real-time highlighting
  • Cross-platform compatibility
  • Lightweight parsing engine
  • Dynamic theme switching
Suitable for
  • Developers building code editors
  • Apps requiring syntax-aware text rendering
  • Educational tools with code examples
  • Documentation interfaces
Considerations
  • May require tuning for very large code blocks
  • Limited built-in language detection
  • Theme customization requires manual configuration
  • Performance depends on text size and complexity
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add re_highlight

Categories

Dependencies

Dependency list 2 items

Source repository

Related projects