Skip to content

Commit ada795e

Browse files
committed
Update QuillEditor constructor
1 parent f56bbff commit ada795e

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

lib/src/widgets/editor.dart

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -225,35 +225,35 @@ Widget _defaultEmbedBuilder(
225225
}
226226

227227
class QuillEditor extends StatefulWidget {
228-
const QuillEditor({
229-
required this.controller,
230-
required this.focusNode,
231-
required this.scrollController,
232-
required this.scrollable,
233-
required this.padding,
234-
required this.autoFocus,
235-
required this.readOnly,
236-
required this.expands,
237-
this.showCursor,
238-
this.paintCursorAboveText,
239-
this.placeholder,
240-
this.enableInteractiveSelection = true,
241-
this.scrollBottomInset = 0,
242-
this.minHeight,
243-
this.maxHeight,
244-
this.customStyles,
245-
this.textCapitalization = TextCapitalization.sentences,
246-
this.keyboardAppearance = Brightness.light,
247-
this.scrollPhysics,
248-
this.onLaunchUrl,
249-
this.onTapDown,
250-
this.onTapUp,
251-
this.onSingleLongTapStart,
252-
this.onSingleLongTapMoveUpdate,
253-
this.onSingleLongTapEnd,
254-
this.embedBuilder = _defaultEmbedBuilder,
255-
this.styleBuilder,
256-
});
228+
const QuillEditor(
229+
{required this.controller,
230+
required this.focusNode,
231+
required this.scrollController,
232+
required this.scrollable,
233+
required this.padding,
234+
required this.autoFocus,
235+
required this.readOnly,
236+
required this.expands,
237+
this.showCursor,
238+
this.paintCursorAboveText,
239+
this.placeholder,
240+
this.enableInteractiveSelection = true,
241+
this.scrollBottomInset = 0,
242+
this.minHeight,
243+
this.maxHeight,
244+
this.customStyles,
245+
this.textCapitalization = TextCapitalization.sentences,
246+
this.keyboardAppearance = Brightness.light,
247+
this.scrollPhysics,
248+
this.onLaunchUrl,
249+
this.onTapDown,
250+
this.onTapUp,
251+
this.onSingleLongTapStart,
252+
this.onSingleLongTapMoveUpdate,
253+
this.onSingleLongTapEnd,
254+
this.embedBuilder = _defaultEmbedBuilder,
255+
this.styleBuilder,
256+
Key? key});
257257

258258
factory QuillEditor.basic({
259259
required QuillController controller,

0 commit comments

Comments
 (0)