From 0edb2368d7baa6599113a9383cc96bf96fff1b2c Mon Sep 17 00:00:00 2001 From: X Code Date: Wed, 9 Feb 2022 11:19:20 -0800 Subject: [PATCH] Adjust comments --- lib/src/widgets/editor.dart | 2 +- lib/src/widgets/toolbar.dart | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/lib/src/widgets/editor.dart b/lib/src/widgets/editor.dart index 3e418287..78a6662b 100644 --- a/lib/src/widgets/editor.dart +++ b/lib/src/widgets/editor.dart @@ -342,7 +342,7 @@ class QuillEditor extends StatefulWidget { final CustomStyleBuilder? customStyleBuilder; /// The locale to use for the editor toolbar, defaults to system locale - /// and more https://github.com/singerdmx/flutter-quill#translation-of-toolbar + /// More https://github.com/singerdmx/flutter-quill#translation final Locale? locale; /// Delegate function responsible for showing menu with link actions on diff --git a/lib/src/widgets/toolbar.dart b/lib/src/widgets/toolbar.dart index 454fa415..ad350c00 100644 --- a/lib/src/widgets/toolbar.dart +++ b/lib/src/widgets/toolbar.dart @@ -114,13 +114,8 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { ///shown when embedding an image, for example QuillDialogTheme? dialogTheme, - ///The locale to use for the editor toolbar, defaults to system locale - ///Currently the supported locales are: - /// * Locale('en') - /// * Locale('de') - /// * Locale('fr') - /// * Locale('zh') - /// and more https://github.com/singerdmx/flutter-quill#translation-of-toolbar + /// The locale to use for the editor toolbar, defaults to system locale + /// More at https://github.com/singerdmx/flutter-quill#translation Locale? locale, Key? key, }) { @@ -425,7 +420,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { final FilePickImpl? filePickImpl; /// The locale to use for the editor toolbar, defaults to system locale - /// and more https://github.com/singerdmx/flutter-quill#translation-of-toolbar + /// More https://github.com/singerdmx/flutter-quill#translation final Locale? locale; @override