flutter_spanned_controller 0.8.0+1  flutter_spanned_controller: ^0.8.0+1 copied to clipboard
flutter_spanned_controller: ^0.8.0+1 copied to clipboard
TextEditingController implementation that allows for rich text styling in Flutter.
We analyzed this package 3 days ago, and awarded it 80 pub points (of a possible 160):
 0/10 points: Provide a valid
 0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
- repositorycan be cloned,
- a clone of the repository contains a pubspec.yaml, which:,- contains name: flutter_spanned_controller,
- contains a versionproperty, and,
- does not contain a publish_toproperty.
 
- contains 
Repository has no matching pubspec.yaml with name: flutter_spanned_controller.
 5/5 points: Provide a valid
 5/5 points: Provide a valid README.md
 5/5 points: Provide a valid
 5/5 points: Provide a valid CHANGELOG.md
 10/10 points: Use an OSI-approved license
 10/10 points: Use an OSI-approved license
Detected license: MIT.
 10/10 points: 20% or more of the public API has dartdoc comments
 10/10 points: 20% or more of the public API has dartdoc comments
198 out of 202 API elements (98.0 %) have documentation comments.
Some symbols that are missing documentation: flutter_spanned_controller, flutter_spanned_controller.AttributeGestureMapper.AttributeGestureMapper.new, flutter_spanned_controller.SpannedStringBuilder.SpannedStringBuilder.new, flutter_spanned_controller.SpannedTextEditingController.isSelectionWithinTextBounds.
 10/10 points: Package has an example
 10/10 points: Package has an example
 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- 
✓ Android 
- 
✓ iOS 
- 
✓ Windows 
- 
✓ Linux 
- 
✓ macOS 
- 
✓ Web 
 0/0 points: WASM compatibility
 0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
 0/50 points: code has no errors, warnings, lints, or formatting issues
 0/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
ERROR: The method 'isSelectionWithinTextBounds' isn't defined for the type 'TextEditingController'.
lib/src/spanned_text_controller.dart:449:23
    ╷
449 │       _textController.isSelectionWithinTextBounds(selection);
    │                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/spanned_text_controller.dart
WARNING: This function has a nullable return type of 'Range?', but ends without returning a value.
lib/src/attribute_span.dart:352:10
    ╷
352 │   Range? splice(Range removedSegment) {
    │          ^^^^^^
    ╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/attribute_span.dart
 10/10 points: All of the package dependencies are supported in the latest version
 10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| built_collection | ^5.0.0 | 5.1.1 | 5.1.1 | |
| characters | ^1.1.0 | 1.4.0 | 1.4.1 | |
| collection | ^1.15.0 | 1.19.1 | 1.19.1 | |
| equatable | ^2.0.0 | 2.0.7 | 2.0.7 | |
| meta | ^1.2.4 | 1.16.0 | 1.17.0 | 
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| material_color_utilities | - | 0.11.1 | 0.13.0 | |
| vector_math | - | 2.2.0 | 2.2.0 | 
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 0/20 points: Compatible with dependency constraint lower bounds
 0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
- UNDEFINED_METHOD-- lib/src/spanned_text_controller.dart:449:23- The method 'isSelectionWithinTextBounds' isn't defined for the type 'TextEditingController'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.