Add placeholder to basic factory

pull/1336/head
Mounir Bouaiche 2 years ago committed by GitHub
parent e86b34f4a5
commit e8c8dbe343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/src/widgets/editor.dart

@ -204,6 +204,7 @@ class QuillEditor extends StatefulWidget {
bool autoFocus = true,
bool expands = false,
FocusNode? focusNode,
String? placeholder,
/// The locale to use for the editor toolbar, defaults to system locale
/// More at https://github.com/singerdmx/flutter-quill#translation
@ -221,6 +222,7 @@ class QuillEditor extends StatefulWidget {
keyboardAppearance: keyboardAppearance ?? Brightness.light,
locale: locale,
embedBuilders: embedBuilders,
placeholder: placeholder,
);
}

Loading…
Cancel
Save