mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-21 16:11:56 +00:00
34 lines
3.1 KiB
Markdown
34 lines
3.1 KiB
Markdown
![]() |
|
||
|
|
||
|
```
|
||
|
// Widget Element RenderObject
|
||
|
//
|
||
|
// │ │
|
||
|
//
|
||
|
// ┌─────────────────────┐ │ ┌────────────────────────┐ │ ┌─────────────────────────┐
|
||
|
// │ RenderObjectWidget │◀────────────│ _TextLineElement │─────▶│ RenderEditableTextLine │
|
||
|
// └─────────────────────┘ │ └────────────────────────┘ │ └─────────────────────────┘
|
||
|
// △ │ │
|
||
|
// │ │ │ │ ┌─────────▽────────┐
|
||
|
// │ ▽ │RenderEditableBox │
|
||
|
// ┌────────────────────┐ │ ┌──────────────────────┐ │ └──────────────────┘
|
||
|
// ┌──│ EditableTextLine │ │ RenderObjectElement │ │
|
||
|
// │ └────────────────────┘ │ └──────────────────────┘ │ ▽
|
||
|
// │ ┌────────────┐
|
||
|
// │ │ │ │ RenderBox │
|
||
|
// │ └────────────┘
|
||
|
// │ body ┌────────────┐ │ │ │
|
||
|
// ├──────────▶│ TextLine │ ▽
|
||
|
// │ └────────────┘ │ │ ┌─────────────┐
|
||
|
// │ │RenderObject │
|
||
|
// │ ┌────────────┐ │ │ └─────────────┘
|
||
|
// └──────────▶│ Line │
|
||
|
// └────────────┘ │ │
|
||
|
//
|
||
|
// │ │ Layout, size, painting and
|
||
|
// Widget: holds the config for a Represents an actual comositing
|
||
|
// piece of UI. │ piece of UI │
|
||
|
//
|
||
|
//
|
||
|
```
|