editors library

Stable text input and editor API for composable terminal UIs.

This is a convenience re-export of package:artisanal_widgets/editors.dart so apps depending on package:artisanal can keep using the umbrella package for the supported widget editing surface.

Prefer the direct artisanal_widgets package when editor widgets are the only UI surface your app needs. Keep this umbrella entrypoint when the app already depends on the wider Artisanal toolkit.

Classes

CodeEditor
A higher-level code editor built on top of TextEditor.
MarkdownEditor
A higher-level Markdown editor with a live rendered preview.
SelectableTextAreaView
A read-only selectable view of a TextAreaController.
SelectableTextFieldView
A read-only selectable view of a TextEditingController.
TextArea
A multi-line text editor widget powered by the bubbles textarea model.
TextAreaController
Controls the state of a TextArea.
TextAreaKeyMap
TextDecorationLayerBinding
Keeps one named range-decoration layer in sync with a text controller.
TextDecorationRange
TextDiagnosticRange
TextDiagnosticsBinding
Keeps a TextAreaController's diagnostics in sync with its current text.
TextEditingController
Controls the state of a TextField.
TextEditingValue
The current state of a text field.
TextEditor
A higher-level editor surface built on top of TextArea.
TextField
A text input widget supporting single-line and multi-line editing.
TextInputKeyMap
Key map for text input navigation and editing.
TextLineDecoration
TextLineDecorationLayerBinding
Keeps one named whole-line decoration layer in sync with a text controller.
TextPatternDiagnosticRule
TextPositionDiagnosticRange
TextPositionDiagnosticsSource
Produces positional diagnostics from a listenable text source.
TextSelection
Range of text that is selected.

Typedefs

TextChangedCallback = void Function(String value)
Signature for text change notifications from TextField.
TextDecorationLayerBuilder = Iterable<TextDecorationRange> Function(String text)
Builds range decorations from plain text.
TextDiagnosticsBuilder = Iterable<TextPositionDiagnosticRange> Function(String text)
Builds positional diagnostics from plain text.
TextFieldController = TextEditingController
Alias for TextEditingController for backward compatibility.
TextLineDecorationLayerBuilder = Iterable<TextLineDecoration> Function(String text)
Builds whole-line decorations from plain text.
TextPositionDiagnosticsBuilder = Iterable<TextPositionDiagnosticRange> Function(String text)
Builds positional diagnostics from plain text.