Search packages, repositories and app categories

Package detailsv0.1.1

highlighter

Syntax highlighting for Dart with lots of languages and themes support.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
28.2K
Likes
6
Pub points
120

Install package

flutter pub add highlighter

Package Overview

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

Highlighter is a Dart package that provides syntax highlighting for multiple programming languages and themes, ideal for code editors and documentation tools. It supports a wide range of languages and offers customizable themes to enhance code readability across platforms. The package integrates seamlessly into Flutter applications and is suitable for displaying formatted code in apps, tutorials, or IDE-like environments. With support for Android, iOS, Web, macOS, Windows, and Linux, it ensures consistent rendering across all target platforms.

Use cases

  • Code editor widgets
  • Documentation displays
  • Tutorial apps
  • IDE-like interfaces
  • Live code previews
  • Syntax-aware text rendering

Key features

  • Supports numerous programming languages
  • Multiple built-in themes
  • Cross-platform compatibility
  • Customizable styling
  • Lightweight and efficient
  • Easy integration with Flutter

Suitable for

  • Developers building code editors
  • Educational app creators
  • Technical documentation tools
  • UI components requiring syntax highlighting
  • Apps with code display features

Considerations

  • Requires manual theme and language configuration
  • Performance may vary with large code blocks
  • Limited to static highlighting (no real-time editing)
  • Not designed for full IDE functionality
  • Theme customization requires understanding of CSS-like syntax

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

highlight.dart

Syntax highlighting for Dart and Flutter, which supports lots of languages and themes.

Forked from git-touch/highlight

Package Version Description
highlighter pub Core syntax highlighting library written in Dart
flutter_highlighter pub Flutter syntax highlighting widget

Project forked from https://github.com/pd4d10/highlight

References

License

MIT

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package