text_selection_controls 0.0.2 copy "text_selection_controls: ^0.0.2" to clipboard
text_selection_controls: ^0.0.2 copied to clipboard

discontinued

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.

10
likes
90/ 160
pub points
1.4k
downloads

We analyzed this package 9 days ago, and awarded it 90 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 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.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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

62if (canCopy(delegate)) return handleCopy(delegate, clipboardStatus);
   │                                                            ^^^^^^^^^^^^^^^
   ╵
copied to clipboard

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,
    │                             ^^^^^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/text_selection_controls.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
Jul 12Aug 9Sep 6Oct 4Nov 1Nov 29Dec 27Jan 24Feb 21Mar 21050100150200250300350400>=0.0.0-0 <1.0.0
10
likes
90
points
1.4k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.27 - 2025.04.11

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.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on text_selection_controls