@@ -2,7 +2,7 @@ library flutter_quill_extensions;
2
2
3
3
// ignore: implementation_imports
4
4
import 'package:flutter_quill/src/editor_toolbar_controller_shared/clipboard/clipboard_service_provider.dart' ;
5
- import 'package:meta/meta.dart' show immutable ;
5
+ import 'package:meta/meta.dart' show experimental ;
6
6
7
7
import 'src/editor_toolbar_controller_shared/clipboard/super_clipboard_service.dart' ;
8
8
@@ -38,9 +38,12 @@ export 'src/toolbar/video/models/video.dart';
38
38
export 'src/toolbar/video/models/video_configurations.dart' ;
39
39
export 'src/toolbar/video/video_button.dart' ;
40
40
41
- @immutable
41
+ @Deprecated (
42
+ 'Should not be used as will removed soon in future releases.' ,
43
+ )
44
+ @experimental
42
45
class FlutterQuillExtensions {
43
- const FlutterQuillExtensions ._();
46
+ FlutterQuillExtensions ._();
44
47
45
48
@Deprecated (
46
49
'''
@@ -51,6 +54,7 @@ class FlutterQuillExtensions {
51
54
Calling this function will no longer activate the feature.
52
55
''' ,
53
56
)
57
+ @experimental
54
58
static void useSpellCheckerService (String language) {
55
59
// This feature has been removed from the package.
56
60
// See https://github.com/singerdmx/flutter-quill/issues/2142
@@ -59,6 +63,11 @@ class FlutterQuillExtensions {
59
63
/// Override default implementation of [ClipboardServiceProvider.instance]
60
64
/// to allow `flutter_quill` package to use `super_clipboard` plugin
61
65
/// to support rich text features, gif and images.
66
+ @Deprecated (
67
+ 'Should not be used anymore as super_clipboard will moved outside of flutter_quill_extensions soon.\n '
68
+ 'A replacement is being made in https://github.com/singerdmx/flutter-quill/pull/2230' ,
69
+ )
70
+ @experimental
62
71
static void useSuperClipboardPlugin () {
63
72
ClipboardServiceProvider .setInstance (SuperClipboardService ());
64
73
}
0 commit comments