diff --git a/dart_quill_delta/pubspec.yaml b/dart_quill_delta/pubspec.yaml index 8d4072bfa..f52527a58 100644 --- a/dart_quill_delta/pubspec.yaml +++ b/dart_quill_delta/pubspec.yaml @@ -15,5 +15,6 @@ dependencies: quiver: ^3.2.1 dev_dependencies: + # TODO: Using 4.0.0 to not require higher version of Dart SDK lints: ^4.0.0 test: ^1.24.0 diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 5c0c784fd..b5844399c 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -66,7 +66,7 @@ dependency_overrides: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 build_runner: ^2.4.8 flutter_gen_runner: ^5.4.0 diff --git a/flutter_quill_extensions/lib/flutter_quill_extensions.dart b/flutter_quill_extensions/lib/flutter_quill_extensions.dart index 7a9bec821..3abf9314e 100644 --- a/flutter_quill_extensions/lib/flutter_quill_extensions.dart +++ b/flutter_quill_extensions/lib/flutter_quill_extensions.dart @@ -1,4 +1,4 @@ -library flutter_quill_extensions; +library; // ignore: implementation_imports import 'package:flutter_quill/src/editor_toolbar_controller_shared/clipboard/clipboard_service_provider.dart'; diff --git a/flutter_quill_extensions/pubspec.yaml b/flutter_quill_extensions/pubspec.yaml index c502a0112..38d6a241d 100644 --- a/flutter_quill_extensions/pubspec.yaml +++ b/flutter_quill_extensions/pubspec.yaml @@ -51,7 +51,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter: uses-material-design: true diff --git a/flutter_quill_test/lib/flutter_quill_test.dart b/flutter_quill_test/lib/flutter_quill_test.dart index 988e4e823..310ec2d05 100644 --- a/flutter_quill_test/lib/flutter_quill_test.dart +++ b/flutter_quill_test/lib/flutter_quill_test.dart @@ -1,3 +1,3 @@ -library flutter_quill_test; +library; export 'src/test/widget_tester_extension.dart'; diff --git a/flutter_quill_test/pubspec.yaml b/flutter_quill_test/pubspec.yaml index 8247d0455..9fe894518 100644 --- a/flutter_quill_test/pubspec.yaml +++ b/flutter_quill_test/pubspec.yaml @@ -33,7 +33,7 @@ dependencies: sdk: flutter dev_dependencies: - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter: uses-material-design: true diff --git a/lib/extensions.dart b/lib/extensions.dart index 96226bc9f..9ce60ebf1 100644 --- a/lib/extensions.dart +++ b/lib/extensions.dart @@ -3,7 +3,7 @@ 'to expose certain internal APIs and should not be used directly, as it is subject to breaking changes.\n' 'The replacement is flutter_quill_internal.dart which is also for internal use only.', ) -library flutter_quill.extensions; +library; // This file contains exports that are meant to be used // internally and are not part of the public API as diff --git a/lib/flutter_quill.dart b/lib/flutter_quill.dart index 868eed6ef..2c51d6ebd 100644 --- a/lib/flutter_quill.dart +++ b/lib/flutter_quill.dart @@ -1,4 +1,4 @@ -library flutter_quill; +library; export 'src/common/structs/horizontal_spacing.dart'; export 'src/common/structs/image_url.dart'; diff --git a/lib/quill_delta.dart b/lib/quill_delta.dart index dc3a0a01c..6418b755a 100644 --- a/lib/quill_delta.dart +++ b/lib/quill_delta.dart @@ -1,3 +1,3 @@ -library flutter_quill.delta; +library; export 'package:dart_quill_delta/dart_quill_delta.dart'; diff --git a/lib/translations.dart b/lib/translations.dart index 2906e16c1..fe3f03591 100644 --- a/lib/translations.dart +++ b/lib/translations.dart @@ -1,4 +1,4 @@ -library flutter_quill.translations; +library; export 'src/l10n/extensions/localizations_ext.dart'; export 'src/l10n/widgets/localizations.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 3c3b941b9..92bde70ac 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -65,7 +65,7 @@ dependencies: quill_native_bridge: '>=10.5.14 <=10.6.2' dev_dependencies: - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter_test: sdk: flutter flutter_quill_test: ^10.0.0 diff --git a/quill_native_bridge/pubspec.yaml b/quill_native_bridge/pubspec.yaml index 58228fcd9..da87139e3 100644 --- a/quill_native_bridge/pubspec.yaml +++ b/quill_native_bridge/pubspec.yaml @@ -18,7 +18,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^4.0.0 + flutter_lints: ^5.0.0 flutter: plugin: