Removed deprecated functions

pull/2082/head
Douglas Ward 12 months ago committed by AtlasAutocode
parent ab4d3f40df
commit be49821a51
  1. 43
      lib/src/controller/quill_controller.dart

@ -81,49 +81,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<String, String>? _selectedFontFamily;
/// The current font family, null to use the default one
@Deprecated('No longer used')
MapEntry<String, String>? get selectedFontFamily => _selectedFontFamily;
@Deprecated('No longer used')
void selectFontFamily(MapEntry<String, String>? newFontFamily) {
_selectedFontFamily = newFontFamily;
}
/// The current font size, null to use the default one
@Deprecated('No longer used')
MapEntry<String, String>? _selectedFontSize;
/// The current font size, null to use the default one
@Deprecated('No longer used')
MapEntry<String, String>? get selectedFontSize => _selectedFontSize;
@Deprecated('No longer used')
void selectFontSize(MapEntry<String, String>? newFontSize) {
_selectedFontSize = newFontSize;
}
/// For the [QuillToolbarToggleStyleButton]
@Deprecated('No longer used')
final Map<Attribute, bool?> _selectedStyles = {};
/// For the [QuillToolbarToggleStyleButton]
@Deprecated('No longer used')
Map<Attribute, bool?> 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;

Loading…
Cancel
Save