Skip to content

truenary/rich_editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


material\rich_text_field.dart

1 RichTextField - similar to TextField widget - top level widget that wraps everything inside 2 RichTextFieldState - extends State

rendering\rich_editable.dart

3 RenderRichEditable - extends RenderBox - renderer for an editable text field - It does not directly provide affordances for editing the text, - but it does handle text selection and manipulation of the text cursor.

services\rich_text_parser.dart

4 RichTextEditingValueParser - responsible for parsing text and style

services\text_input.dart

5 RichTextEditingValue - extends AbstractTextEditingValue - similar to TextEditingValue - uses TextSpan instead of String 6 AbstractTextEditingValue - abstract class type 7 TextInputClient - abstract class - T type where - an interface to receive information from TextInput - same as Flutter's TextInputClient - plus getValue to get value 8 TextInputConnection - a interface for interacting with a text input control. - same as Flutter's TextInputConnection - but with setEditingState taking AbstractTextEditingValue as argument - requires TextInputClient _client that the connection should be established with (RichEditableTextState) 9 _TextInputClientHandler - same as Flutter's _TextInputClientHandler 10 TextInput - an interface to the system's text input control. - same as Flutter's TextInput minus debug info/assertion

widgets\rich_editable_text.dart

11 StyleController - extends ValueNotifier of type 12 RichTextEditingController - extends ValueNotifier of type - similar to TextEditingController but for 13 RichEditableText - similar to EditableText 14 RichEditableTextState - extends State - implements TextInputClient - parent for _RichEditable 15 _RichEditable - extends LeafRenderObjectWidget - The createRenderObject & updateRenderObject methods update output TextSpans by calling RichTextEditingValueParser.updateSpansWithStyle

\Extensions.dart 16 Extensions - utilities for working with TextSpan

=======================================================================

About

A rich text editor in Flutter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages