Skip to content

Commit

Permalink
chore(deps): improve dependencies constraints for compatibility (#11)
Browse files Browse the repository at this point in the history
* Updates the package to not require Flutter SDK or Google material icons
* Updates flutter_lints to 5.0.0 and fix analysis warnings
* Updates minimum supported Dart SDK version From 3.4.3 to 3.0
  • Loading branch information
EchoEllet authored Nov 3, 2024
1 parent 0fbe460 commit 3946b12
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
analyzer:
errors:
avoid_function_literals_in_foreach_calls: ignore
unintended_html_in_doc_comment: ignore
include: package:flutter_lints/flutter.yaml

# Additional information about this file can be found at
Expand Down
3 changes: 2 additions & 1 deletion lib/flutter_quill_delta_from_html.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
library flutter_quill_delta_from_html;
/// Convert HTML content to [Quill Delta](https://quilljs.com/docs/delta) format.
library;

export 'package:flutter_quill_delta_from_html/parser/font_size_parser.dart';
export 'package:flutter_quill_delta_from_html/parser/indent_parser.dart';
Expand Down
12 changes: 4 additions & 8 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@ repository: https://github.com/CatHood0/flutter_quill_delta_from_html
issue_tracker: https://github.com/CatHood0/flutter_quill_delta_from_html/issues

environment:
sdk: ">=3.4.3 <4.0.0"
flutter: ">=1.17.0"
sdk: '>=3.0.0 <4.0.0'

dependencies:
dart_quill_delta: ^10.6.0
html: ^0.15.4
dart_quill_delta: ^10.0.0
html: ^0.15.0

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0

flutter:
uses-material-design: true
flutter_lints: ^5.0.0

0 comments on commit 3946b12

Please sign in to comment.