creamy_field 0.3.1
creamy_field: ^0.3.1 copied to clipboard
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: #
- CreamyTextField
- CreamyEditingController
- Syntax Highlighter
- 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