From 377acda621a79245b80453456491ee6b1bfe689c Mon Sep 17 00:00:00 2001 From: Douglas Ward Date: Sun, 21 Apr 2024 18:49:30 -0600 Subject: [PATCH] Removed deprecated functions --- lib/src/widgets/quill/quill_controller.dart | 43 --------------------- 1 file changed, 43 deletions(-) diff --git a/lib/src/widgets/quill/quill_controller.dart b/lib/src/widgets/quill/quill_controller.dart index a53f4b85..012f1a25 100644 --- a/lib/src/widgets/quill/quill_controller.dart +++ b/lib/src/widgets/quill/quill_controller.dart @@ -72,49 +72,6 @@ class QuillController extends ChangeNotifier { notifyListeners(); } - // Those are the values that the user selects and not the one - // from the current line - - /// The current font family, null to use the default one - @Deprecated('No longer used') - MapEntry? _selectedFontFamily; - - /// The current font family, null to use the default one - @Deprecated('No longer used') - MapEntry? get selectedFontFamily => _selectedFontFamily; - - @Deprecated('No longer used') - void selectFontFamily(MapEntry? newFontFamily) { - _selectedFontFamily = newFontFamily; - } - - /// The current font size, null to use the default one - @Deprecated('No longer used') - MapEntry? _selectedFontSize; - - /// The current font size, null to use the default one - @Deprecated('No longer used') - MapEntry? get selectedFontSize => _selectedFontSize; - - @Deprecated('No longer used') - void selectFontSize(MapEntry? newFontSize) { - _selectedFontSize = newFontSize; - } - - /// For the [QuillToolbarToggleStyleButton] - @Deprecated('No longer used') - final Map _selectedStyles = {}; - - /// For the [QuillToolbarToggleStyleButton] - @Deprecated('No longer used') - Map get selectedStyles => _selectedStyles; - - /// For the [QuillToolbarToggleStyleButton] - @Deprecated('No longer used') - void selectStyle(Attribute attribute, bool value) { - _selectedStyles[attribute] = value; - } - /// Tells whether to keep or reset the [toggledStyle] /// when user adds a new line. final bool keepStyleOnNewLine;