creamy_field 0.3.1

Rich Text Editing Field & other components with rich text, selection toolbar & syntax highlight support. Useful in Rich text editors.

creamy_field #

Components & widgets with rich text, custom selection toolbar & syntax highlight support. Useful for Rich text editors.

Getting Started #

The main components of this package: #

  1. CreamyTextField
  2. CreamyEditingController
  3. Syntax Highlighter
  4. creamyTextSelectionControls

The CreamyTextField is a text widget similar to Flutter's TextField widget. However, unlike a regular TextField the widget supports a syntax highlighter, line indicator, selection toolbar actions, custom text selection toolbar support, ability to horizontally scroll and a controller which provides more description about a text.

You can also use a limited support for syntax highlighting of many programming languages & themes using CreamySyntaxHighlighter.

Since the text field itself is independent of the syntax highlighting rules, the same text field can be used for any other programming or markup langugage. Only the syntax highlighter implementation needs to be created separately for each new programming language.

Check screenshots folder for some sample UI screenshots.

Feel free to add features, issues & pull request

4
likes
80
pub points
55%
popularity

Rich Text Editing Field & other components with rich text, selection toolbar & syntax highlight support. Useful in Rich text editors.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

smushaheed@gmail.com

License

BSD (LICENSE)

Dependencies

flutter, flutter_highlight, highlight

More

Packages that depend on creamy_field