diff --git a/lib/src/common/structs/image_url.dart b/lib/src/common/structs/image_url.dart index cc86005e..e159b2a8 100644 --- a/lib/src/common/structs/image_url.dart +++ b/lib/src/common/structs/image_url.dart @@ -1,4 +1,4 @@ -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; @immutable class ImageUrl { diff --git a/lib/src/common/structs/offset_value.dart b/lib/src/common/structs/offset_value.dart index 49cbc70f..3e280c2c 100644 --- a/lib/src/common/structs/offset_value.dart +++ b/lib/src/common/structs/offset_value.dart @@ -1,4 +1,4 @@ -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; @immutable class OffsetValue { diff --git a/lib/src/common/structs/optional_size.dart b/lib/src/common/structs/optional_size.dart index 3e33bbfe..1462ab00 100644 --- a/lib/src/common/structs/optional_size.dart +++ b/lib/src/common/structs/optional_size.dart @@ -1,4 +1,4 @@ -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; @immutable class OptionalSize { diff --git a/lib/src/common/structs/segment_leaf_node.dart b/lib/src/common/structs/segment_leaf_node.dart index 2b014cf8..c9b27914 100644 --- a/lib/src/common/structs/segment_leaf_node.dart +++ b/lib/src/common/structs/segment_leaf_node.dart @@ -1,4 +1,4 @@ -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; import '../../document/nodes/leaf.dart'; import '../../document/nodes/line.dart'; diff --git a/lib/src/common/structs/vertical_spacing.dart b/lib/src/common/structs/vertical_spacing.dart index d19a2f1c..cc8724a2 100644 --- a/lib/src/common/structs/vertical_spacing.dart +++ b/lib/src/common/structs/vertical_spacing.dart @@ -1,4 +1,4 @@ -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; @immutable class VerticalSpacing { diff --git a/lib/src/controller/quill_controller.dart b/lib/src/controller/quill_controller.dart index c31290bb..03952317 100644 --- a/lib/src/controller/quill_controller.dart +++ b/lib/src/controller/quill_controller.dart @@ -3,7 +3,7 @@ import 'dart:math' as math; import 'package:flutter/services.dart' show ClipboardData, Clipboard; import 'package:flutter/widgets.dart'; import 'package:html/parser.dart' as html_parser; -import 'package:meta/meta.dart'; +import 'package:meta/meta.dart' show experimental; import '../../quill_delta.dart'; import '../common/structs/image_url.dart'; diff --git a/lib/src/delta/delta_diff.dart b/lib/src/delta/delta_diff.dart index a3c2c4ad..82dccf5a 100644 --- a/lib/src/delta/delta_diff.dart +++ b/lib/src/delta/delta_diff.dart @@ -1,7 +1,7 @@ import 'dart:math' as math; import 'dart:ui' show TextDirection; -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; import '../../quill_delta.dart'; import '../document/attribute.dart'; diff --git a/lib/src/delta/delta_x.dart b/lib/src/delta/delta_x.dart index ab05f44b..915f67bc 100644 --- a/lib/src/delta/delta_x.dart +++ b/lib/src/delta/delta_x.dart @@ -1,6 +1,8 @@ +import 'package:flutter/foundation.dart' show immutable; import 'package:flutter_quill_delta_from_html/flutter_quill_delta_from_html.dart'; import 'package:markdown/markdown.dart' as md; -import 'package:meta/meta.dart'; +import 'package:meta/meta.dart' show experimental; + import '../../markdown_quill.dart'; import '../../quill_delta.dart'; diff --git a/lib/src/document/attribute.dart b/lib/src/document/attribute.dart index 1590adc5..458bb9e2 100644 --- a/lib/src/document/attribute.dart +++ b/lib/src/document/attribute.dart @@ -1,7 +1,7 @@ -import 'dart:collection'; +import 'dart:collection' show LinkedHashSet, LinkedHashMap; import 'package:equatable/equatable.dart'; -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; import 'package:quiver/core.dart'; import 'custom_attributes.dart'; diff --git a/lib/src/document/structs/doc_change.dart b/lib/src/document/structs/doc_change.dart index dbe31e7a..54de4abd 100644 --- a/lib/src/document/structs/doc_change.dart +++ b/lib/src/document/structs/doc_change.dart @@ -1,4 +1,4 @@ -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; import '../../../quill_delta.dart'; import '../document.dart'; diff --git a/lib/src/document/structs/history_changed.dart b/lib/src/document/structs/history_changed.dart index cafaba60..7d5b4b8b 100644 --- a/lib/src/document/structs/history_changed.dart +++ b/lib/src/document/structs/history_changed.dart @@ -1,4 +1,4 @@ -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; @immutable class HistoryChanged { diff --git a/lib/src/editor/config/editor_configurations.dart b/lib/src/editor/config/editor_configurations.dart index 2c4b1ae4..80b4811e 100644 --- a/lib/src/editor/config/editor_configurations.dart +++ b/lib/src/editor/config/editor_configurations.dart @@ -1,4 +1,3 @@ -// ignore_for_file: public_member_api_docs, sort_constructors_first import 'package:equatable/equatable.dart'; import 'package:flutter/foundation.dart' show Brightness, Uint8List, immutable; import 'package:flutter/material.dart' diff --git a/lib/src/editor/raw_editor/config/raw_editor_configurations.dart b/lib/src/editor/raw_editor/config/raw_editor_configurations.dart index 4c8bb96e..46dad31b 100644 --- a/lib/src/editor/raw_editor/config/raw_editor_configurations.dart +++ b/lib/src/editor/raw_editor/config/raw_editor_configurations.dart @@ -1,5 +1,5 @@ import 'package:equatable/equatable.dart'; -import 'package:flutter/foundation.dart' show Brightness, Uint8List; +import 'package:flutter/foundation.dart' show Brightness, Uint8List, immutable; import 'package:flutter/material.dart' show AdaptiveTextSelectionToolbar, @@ -26,7 +26,6 @@ import 'package:flutter/widgets.dart' Widget, MouseCursor, SystemMouseCursors; -import 'package:meta/meta.dart' show immutable; import '../../../controller/quill_controller.dart'; import '../../../editor/embed/embed_editor_builder.dart'; diff --git a/lib/src/editor/raw_editor/raw_editor.dart b/lib/src/editor/raw_editor/raw_editor.dart index d748ba84..5a6d04cf 100644 --- a/lib/src/editor/raw_editor/raw_editor.dart +++ b/lib/src/editor/raw_editor/raw_editor.dart @@ -8,8 +8,8 @@ import 'package:flutter/widgets.dart' State, StatefulWidget, TextSelectionDelegate, - Widget; -import 'package:meta/meta.dart' show immutable; + Widget, + immutable; import '../../common/structs/offset_value.dart'; import '../editor.dart'; diff --git a/lib/src/editor_toolbar_controller_shared/clipboard/clipboard_service_provider.dart b/lib/src/editor_toolbar_controller_shared/clipboard/clipboard_service_provider.dart index 7bc3c0c1..f90a7a9d 100644 --- a/lib/src/editor_toolbar_controller_shared/clipboard/clipboard_service_provider.dart +++ b/lib/src/editor_toolbar_controller_shared/clipboard/clipboard_service_provider.dart @@ -1,5 +1,4 @@ -import 'package:meta/meta.dart'; - +import 'package:flutter/foundation.dart' show immutable; import 'clipboard_service.dart'; import 'default_clipboard_service.dart'; diff --git a/lib/src/rules/delete.dart b/lib/src/rules/delete.dart index e63e1633..79c7c534 100644 --- a/lib/src/rules/delete.dart +++ b/lib/src/rules/delete.dart @@ -1,4 +1,4 @@ -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; import '../../quill_delta.dart'; import '../document/attribute.dart'; diff --git a/lib/src/rules/format.dart b/lib/src/rules/format.dart index f3c87ffb..177da37c 100644 --- a/lib/src/rules/format.dart +++ b/lib/src/rules/format.dart @@ -1,4 +1,4 @@ -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; import '../../quill_delta.dart'; import '../document/attribute.dart'; diff --git a/lib/src/rules/insert.dart b/lib/src/rules/insert.dart index a4e8e425..f3885af7 100644 --- a/lib/src/rules/insert.dart +++ b/lib/src/rules/insert.dart @@ -1,4 +1,4 @@ -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/widgets.dart' show immutable; import '../../quill_delta.dart'; import '../common/extensions/uri_ext.dart'; diff --git a/lib/src/rules/rule.dart b/lib/src/rules/rule.dart index 63c5fbc8..e1870db3 100644 --- a/lib/src/rules/rule.dart +++ b/lib/src/rules/rule.dart @@ -1,4 +1,4 @@ -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/foundation.dart' show immutable; import '../../quill_delta.dart'; import '../document/attribute.dart'; diff --git a/lib/src/toolbar/structs/link_dialog_action.dart b/lib/src/toolbar/structs/link_dialog_action.dart index 08a457ab..8d15ff05 100644 --- a/lib/src/toolbar/structs/link_dialog_action.dart +++ b/lib/src/toolbar/structs/link_dialog_action.dart @@ -1,5 +1,4 @@ -import 'package:flutter/widgets.dart' show Widget; -import 'package:meta/meta.dart' show immutable; +import 'package:flutter/widgets.dart' show Widget, immutable; @immutable class LinkDialogAction { diff --git a/lib/src/toolbar/theme/quill_dialog_theme.dart b/lib/src/toolbar/theme/quill_dialog_theme.dart index f93f2564..fedf316f 100644 --- a/lib/src/toolbar/theme/quill_dialog_theme.dart +++ b/lib/src/toolbar/theme/quill_dialog_theme.dart @@ -1,4 +1,4 @@ -import 'package:flutter/foundation.dart' show Diagnosticable; +import 'package:flutter/foundation.dart' show Diagnosticable, immutable; import 'package:flutter/material.dart' show BoxConstraints, @@ -8,7 +8,6 @@ import 'package:flutter/material.dart' EdgeInsetsGeometry, ShapeBorder, TextStyle; -import 'package:meta/meta.dart' show immutable; /// Used to configure the dialog's look and feel.