Skip to content

Commit 0edb236

Browse files
committed
Adjust comments
1 parent cfc5694 commit 0edb236

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

lib/src/widgets/editor.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ class QuillEditor extends StatefulWidget {
342342
final CustomStyleBuilder? customStyleBuilder;
343343

344344
/// The locale to use for the editor toolbar, defaults to system locale
345-
/// and more https://github.com/singerdmx/flutter-quill#translation-of-toolbar
345+
/// More https://github.com/singerdmx/flutter-quill#translation
346346
final Locale? locale;
347347

348348
/// Delegate function responsible for showing menu with link actions on

lib/src/widgets/toolbar.dart

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,8 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
114114
///shown when embedding an image, for example
115115
QuillDialogTheme? dialogTheme,
116116

117-
///The locale to use for the editor toolbar, defaults to system locale
118-
///Currently the supported locales are:
119-
/// * Locale('en')
120-
/// * Locale('de')
121-
/// * Locale('fr')
122-
/// * Locale('zh')
123-
/// and more https://github.com/singerdmx/flutter-quill#translation-of-toolbar
117+
/// The locale to use for the editor toolbar, defaults to system locale
118+
/// More at https://github.com/singerdmx/flutter-quill#translation
124119
Locale? locale,
125120
Key? key,
126121
}) {
@@ -425,7 +420,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
425420
final FilePickImpl? filePickImpl;
426421

427422
/// The locale to use for the editor toolbar, defaults to system locale
428-
/// and more https://github.com/singerdmx/flutter-quill#translation-of-toolbar
423+
/// More https://github.com/singerdmx/flutter-quill#translation
429424
final Locale? locale;
430425

431426
@override

0 commit comments

Comments
 (0)