text_selection_controls 0.0.2
text_selection_controls: ^0.0.2 copied to clipboard
Create a custom text selection controls on top of the current copy, cut, paste and select all options to use them in your SelectableText or TextField widgets.
We analyzed this package 9 days ago, and awarded it 90 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/moneyeSir/flutter_text_selection_controls/tree/master/text_selection_controls
was unreachable. Make sure that the website is reachable via HEAD
requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/moneyeSir/flutter_text_selection_controls
was unreachable. Make sure that the website is reachable via HEAD
requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/moneyeSir/flutter_text_selection_controls/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
10 out of 14 API elements (71.4 %) have documentation comments.
Some symbols that are missing documentation: flutter_text_selection_controls
, flutter_text_selection_controls.FlutterSelectionControls.toolBarItems
, flutter_text_selection_controls.ToolBarItem.ToolBarItem.new
, flutter_text_selection_controls.ToolBarItemControl
.
10/10 points: Package has an example
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
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
Found 22 issues. Showing the first 2:
ERROR: Too many positional arguments: 1 expected, but 2 found.
lib/text_selection_controls.dart:62:60
╷
62 │ if (canCopy(delegate)) return handleCopy(delegate, clipboardStatus);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/text_selection_controls.dart
ERROR: There's no constant named 'toolBar' in 'SelectionChangedCause'.
lib/text_selection_controls.dart:102:29
╷
102 │ SelectionChangedCause.toolBar,
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/text_selection_controls.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
vector_math |
- | 2.1.4 | 2.1.4 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
EXTRA_POSITIONAL_ARGUMENTS
-lib/text_selection_controls.dart:62:60
- Too many positional arguments: 1 expected, but 2 found.UNDEFINED_ENUM_CONSTANT
-lib/text_selection_controls.dart:102:29
- There's no constant named 'toolBar' in 'SelectionChangedCause'.INVALID_OVERRIDE
-lib/text_selection_controls.dart:110:10
- 'FlutterSelectionControls.buildToolbar' ('Widget Function(BuildContext, Rect, double, Offset?, List
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.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.