diff --git a/lib/src/editor/widgets/cursor.dart b/lib/src/editor/widgets/cursor.dart index ab51fe8c6..059a6c767 100644 --- a/lib/src/editor/widgets/cursor.dart +++ b/lib/src/editor/widgets/cursor.dart @@ -335,7 +335,8 @@ class CursorPainter { cursorPlaceholderConfig.show && cursorPlaceholderConfig.text.trim().isNotEmpty) { if (isNodeValid) { - final localOffset = cursorPlaceholderConfig.offset ?? const Offset(0, 0); + final localOffset = + cursorPlaceholderConfig.offset ?? const Offset(0, 0); placeholderPainter ??= TextPainter( text: TextSpan( text: cursorPlaceholderConfig.text,