Search packages, repositories and app categories

Package detailsv0.1.1

flutter_highlighter

Syntax highlighting widget for Flutter with lots of languages and themes support.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
14.2K
Likes
23
Pub points
140

Install package

flutter pub add flutter_highlighter

Package Overview

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

A Flutter widget for syntax highlighting that supports numerous programming languages and themes. It enables developers to display code with proper formatting and colorization, enhancing readability in apps that involve code snippets. Built with extensibility in mind, it integrates seamlessly into Flutter projects across multiple platforms. The package is ideal for documentation tools, code editors, tutorials, and educational apps where visual clarity of source code matters.

Use cases

  • Code documentation apps
  • Educational platforms
  • Developer tools
  • Code snippet viewers
  • Interactive coding tutorials

Key features

  • Supports many programming languages
  • Multiple built-in themes
  • Customizable syntax highlighting
  • Cross-platform compatibility
  • Easy integration with Flutter
  • Lightweight and performant

Suitable for

  • Developers building code editors
  • Educational app creators
  • Documentation tool builders
  • UI designers working with code displays
  • Apps requiring formatted code rendering

Considerations

  • Requires manual theme and language configuration
  • May need performance tuning for large code blocks
  • Limited to static code highlighting (no real-time editing)
  • Depends on external repository for language definitions
  • Not designed for full-featured IDE functionality

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