feat: support customizing tooltip style (#856)
This commit is contained in:
parent
c064543e0e
commit
4c4cc415d5
1 changed files with 195 additions and 162 deletions
|
|
@ -74,6 +74,13 @@ class _DesktopEditorState extends State<DesktopEditor> {
|
|||
...textDirectionItems,
|
||||
...alignmentItems,
|
||||
],
|
||||
tooltipBuilder: (context, message, child) {
|
||||
return Tooltip(
|
||||
message: message,
|
||||
preferBelow: false,
|
||||
child: child,
|
||||
);
|
||||
},
|
||||
editorState: editorState,
|
||||
textDirection: widget.textDirection,
|
||||
editorScrollController: editorScrollController,
|
||||
|
|
|
|||
Loading…
Reference in a new issue