Skip to main content

prism_code_view 0.1.0 copy "prism_code_view: ^0.1.0" to clipboard
prism_code_view: ^0.1.0 copied to clipboard

A syntax-highlighted code viewer widget for Flutter. Built-in Dart and JSON tokenizer, copy button, line numbers, and word-wrap. Pure Flutter — no platform channels, works on all six platforms.

Changelog #

0.1.0 #

  • Initial release.
  • Built-in Dart, JSON, and YAML tokenizers with a pluggable LanguageTokenizer interface.
  • PrismCodeView widget with line numbers, copy-to-clipboard button, word wrap, and a max-height scroll container.
  • Adaptive light/dark palettes via PrismCodeViewStyle.
0
likes
150
points
43
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A syntax-highlighted code viewer widget for Flutter. Built-in Dart and JSON tokenizer, copy button, line numbers, and word-wrap. Pure Flutter — no platform channels, works on all six platforms.

Repository (GitHub)
View/report issues

Topics

#code #syntax-highlighting #widget #text

License

MIT (license)

Dependencies

flutter, meta

More

Packages that depend on prism_code_view